CSS named colour
Ivory
#fffff0
A CSS named colour: ivory is valid anywhere a colour is expected.
- RGB
- rgb(255 255 240)
- HSL
- 60°, 100%, 97%
- OKLCh
- 99.6% 0.020 106.8
Ivory in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #fffff0 | |
|---|---|---|
| RGB | rgb(255 255 240) | |
| RGB legacy | rgb(255, 255, 240) | |
| RGB percent | rgb(100% 100% 94.12%) | |
| HSL | hsl(60 100% 97.1%) | |
| HSL legacy | hsl(60, 100%, 97.1%) | |
| HSV / HSB | hsv(60, 5.9%, 100%) | |
| HWB | hwb(60 94.1% 0%) | |
| Nearest name | ivory | |
| CMYK | cmyk(0%, 0%, 5.9%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(99.598% 0.01962 106.751)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(99.598% -0.00565 0.01878) | |
| CIE LCh | lch(99.698% 7.441 104.782) | |
| CIE Lab | lab(99.698% -1.898 7.194) | |
| Display P3 | color(display-p3 1 1 0.9466) | |
| Rec. 2020 | color(rec2020 0.9972 0.9993 0.9411) | |
| srgb-linear | color(srgb-linear 1 1 0.8714)Light-linear sRGB — the same numbers a shader wants for maths. | |
| 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 — sRGB | vec3(1.0, 1.0, 0.941)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 1.0, 0.871)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 1.0, 0.941, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 1.0, 0.871, 1.0) | |
| GLSL ivec3 | ivec3(255, 255, 240) | |
| HLSL float3 — sRGB | float3(1.0, 1.0, 0.941) | |
| HLSL float3 — linear | float3(1.0, 1.0, 0.871) | |
| HLSL float4 — sRGB | float4(1.0, 1.0, 0.941, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 1.0, 0.941, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 1.0, 0.941) | |
| WGSL vec4f — sRGB | vec4f(1.0, 1.0, 0.941, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 1.0, 0.871) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(255, 255, 240, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 1.0f, 0.8714f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 255, 240, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 1, 0.941, 1) | |
| Flutter Color | Color(0xFFFFFFF0)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 255, 240) | |
| SwiftUI Color | Color(red: 1, green: 1, blue: 0.941) | |
| UIKit UIColor | UIColor(red: 1, green: 1, blue: 0.941, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFFFFF0 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFFFFF0 | |
| Array 0–1 | [1, 1, 0.941] | |
| Array 0–255 | [255, 255, 240] | |
| Decimal integer | 16777200 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Ivory on white | 1.01:1 | Fail | Lc 0 | Not usable for text |
| Ivory on black | 20.81:1 | AAA | Lc 107 | Body 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
Colours 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
ivoryexact matchfloralwhiteΔEok 0.013mintcreamΔEok 0.017honeydewΔEok 0.019whiteΔEok 0.020lightyellowΔEok 0.021