#FFFFE2#FFFFE2
#FFFFE2 is a very light, muted yellow. Relative luminance 0.983; OKLCH L 99.2% C 0.038 H 107.1°. Best body text is #000000 at 20.65:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFFE2 |
|---|---|
| RGB | rgb(255, 255, 226) |
| HSL | hsl(60, 100%, 94%) |
| HSV | hsv(60, 11%, 100%) |
| CMYK | cmyk(0%, 0%, 11.4%, 0%) |
| CIE-LAB | lab(99.33, -4.80, 13.88) |
| CIE-LCH | lch(99.33, 14.68, 109.07°) |
| OKLab | oklab(99.25% -0.0111 0.036) |
| OKLCH | oklch(99.25% 0.038 107.1) |
| XYZ | xyz(90.7260, 98.2716, 86.1255) |
| Luminance | 0.9827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Lightyellow
#FFFFE0
ΔE00 0.62
Off White (survey)
#FFFFE4
ΔE00 0.63
Beige
#F5F5DC
ΔE00 2.32
Cornsilk
#FFF8DC
ΔE00 3.24
Lightgoldenrodyellow
#FAFAD2
ΔE00 3.40
Eggshell (survey)
#FFFFD4
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFFE2 #E2E2FF
analogous
#FFF1E2 #FFFFE2 #F1FFE2
triadic
#FFFFE2 #E2FFFF #FFE2FF
tetradic
#FFFFE2 #E2FFF1 #E2E2FF #FFE2F1
square
#FFFFE2 #E2FFF1 #E2E2FF #FFE2F1
split-complementary
#FFFFE2 #E2F1FF #F1E2FF
monochromatic
#FFFF68 #FFFFA5 #FFFFE0 #FFFFE0 #FFFFE0
Accessibility & contrast
On white
1.02
#FFFFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.65
#FFFFE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFFE2
20.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFFE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFFE2 | 1.00 | 1.02 | 20.65 | 20.65 |
| #FFFFFF | 1.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFFCE0
Deuteranopia (green-blind)
#FFFEE3
Tritanopia (blue-blind)
#FFFBF7
Achromatopsia (no color)
#FDFDFD
Design tokens & code
CSS
--color: #ffffe2; /* rgb */ color: rgb(255, 255, 226); /* oklch */ color: oklch(99.2% 0.038 107.1);
Tailwind
colors: {
custom: {
50: '#ffffeb',
500: '#ffffe2',
950: '#000000',
},
}SCSS
$custom: #ffffe2; $custom-light: #ffffeb; $custom-dark: #000000;
JSON
{
"hex": "#ffffe2",
"rgb": {
"r": 255,
"g": 255,
"b": 226
},
"hsl": {
"h": 60,
"s": 100,
"l": 94.314
},
"oklch": {
"l": 0.99249,
"c": 0.03769,
"h": 107.1
},
"luminance": 0.98271
}Semantic roles & 50–950 ramp
primary
#FFFFE2
secondary
#9898ED
accent
#00E600
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#181816
muted
#868684