CSS named color

Ivory

#fffff0

A CSS named color: ivory is valid anywhere a color is expected.

RGB
rgb(255 255 240)
HSL
60°, 100%, 97%
OKLCh
99.6% 0.020 106.8

Open in the picker

Ivory in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#fffff0
RGBrgb(255 255 240)
RGB legacyrgb(255, 255, 240)
RGB percentrgb(100% 100% 94.12%)
HSLhsl(60 100% 97.1%)
HSL legacyhsl(60, 100%, 97.1%)
HSV / HSBhsv(60, 5.9%, 100%)
HWBhwb(60 94.1% 0%)
Nearest nameivory
CMYKcmyk(0%, 0%, 5.9%, 0%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS color spaces for uniform scales and P3 displays.

OKLChoklch(99.598% 0.01962 106.751)Modern CSS color space for even palettes, better than HSL when building scales.
OKLaboklab(99.598% -0.00565 0.01878)
CIE LChlch(99.698% 7.441 104.782)
CIE Lablab(99.698% -1.898 7.194)
Display P3color(display-p3 1 1 0.9466)
Rec. 2020color(rec2020 0.9972 0.9993 0.9411)
srgb-linearcolor(srgb-linear 1 1 0.8714)Light-linear sRGB: the same numbers a shader wants for math.
CIE XYZ (D65)color(xyz-d65 0.9272 0.9907 0.9668)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 - sRGBvec3(1.0, 1.0, 0.941)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 - linearvec3(1.0, 1.0, 0.871)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 - sRGBvec4(1.0, 1.0, 0.941, 1.0)
GLSL vec4 - linearvec4(1.0, 1.0, 0.871, 1.0)
GLSL ivec3ivec3(255, 255, 240)
HLSL float3 - sRGBfloat3(1.0, 1.0, 0.941)
HLSL float3 - linearfloat3(1.0, 1.0, 0.871)
HLSL float4 - sRGBfloat4(1.0, 1.0, 0.941, 1.0)
HLSL half4 - sRGBhalf4(1.0, 1.0, 0.941, 1.0)
WGSL vec3f - sRGBvec3f(1.0, 1.0, 0.941)
WGSL vec4f - sRGBvec4f(1.0, 1.0, 0.941, 1.0)
WGSL vec3<f32> - linearvec3<f32>(1.0, 1.0, 0.871)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(1.0f, 1.0f, 0.941f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(255, 255, 240, 255)
Unreal FLinearColorFLinearColor(1.0f, 1.0f, 0.8714f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 255, 240, 255)Whole numbers from 0 to 255. Use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 1, 0.941, 1)
Flutter ColorColor(0xFFFFFFF0)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 255, 240)
SwiftUI ColorColor(red: 1, green: 1, blue: 0.941)
UIKit UIColorUIColor(red: 1, green: 1, blue: 0.941, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFFFFF0
0x hex (ARGB)0xFFFFFFF0
Array 0–1[1, 1, 0.941]
Array 0–255[255, 255, 240]
Decimal integer16777200

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Ivory on white1.01:1FailLc 0Not usable for text
Ivory on black20.81:1AAALc 107Body text at any size

Ivory text on a white background

Ivory text on a black background

White text on Ivory

Black text on Ivory

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#f8f8ed
  • 100#eeeee3
  • 200#ddddd1
  • 300#c7c7ba
  • 400#aaaa9d
  • 500#8c8c7f
  • 600#737266
  • 700#5c5c50
  • 800#49483e
  • 900#39392f
  • 950#202019

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#fffff3
  • Tint 2#fffff5
  • Tint 3#fffff8
  • Tint 4#fffffa
  • Tint 5#fffffd
  • Shade 1#c8c8bc
  • Shade 2#94948b
  • Shade 3#63635d
  • Shade 4#363632
  • Shade 5#0f0f0d

Colors that work with Ivory

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #fcfcff
  • #f1ffff
  • #fff9ff
  • #fffcf0
  • #f8fff4

Closest CSS names