#FFF08E#FFF08E
#FFF08E is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.120 H 100.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).
Color values
| HEX | #FFF08E |
|---|---|
| RGB | rgb(255, 240, 142) |
| HSL | hsl(52, 100%, 78%) |
| HSV | hsv(52, 44%, 100%) |
| CMYK | cmyk(0%, 5.9%, 44.3%, 0%) |
| CIE-LAB | lab(94.11, -7.94, 49.01) |
| CIE-LCH | lch(94.11, 49.65, 99.21°) |
| OKLab | oklab(94.65% -0.0223 0.1182) |
| OKLCH | oklch(94.65% 0.12 100.7) |
| XYZ | xyz(77.2844, 85.5356, 38.0249) |
| Luminance | 0.8553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 1.71
Buff
#FEF69E
ΔE00 2.69
Khaki (CSS)
#F0E68C
ΔE00 2.86
Sandy Yellow
#FDEE73
ΔE00 3.37
Manilla
#FFFA86
ΔE00 3.77
Straw
#FCF679
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFF08E #8E9DFF
analogous
#FFB78E #FFF08E #D6FF8E
triadic
#FFF08E #8EFFF0 #F08EFF
tetradic
#FFF08E #8EFFB7 #8E9DFF #FF8ED6
square
#FFF08E #8EFFB7 #8E9DFF #FF8ED6
split-complementary
#FFF08E #8ED6FF #B78EFF
monochromatic
#FFE014 #FFE851 #FFF08E #FFF8CB #FFFBE0
Accessibility & contrast
On white
1.16
#FFF08E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.11
#FFF08E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFF08E
18.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFF08E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFF08E | 1.00 | 1.16 | 18.11 | 18.11 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA86
Deuteranopia (green-blind)
#FFF192
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fff08e; /* rgb */ color: rgb(255, 240, 142); /* oklch */ color: oklch(94.7% 0.120 100.7);
Tailwind
colors: {
custom: {
50: '#fff4b0',
500: '#fff08e',
950: '#000000',
},
}SCSS
$custom: #fff08e; $custom-light: #fff4b0; $custom-dark: #000000;
JSON
{
"hex": "#fff08e",
"rgb": {
"r": 255,
"g": 240,
"b": 142
},
"hsl": {
"h": 52.035,
"s": 100,
"l": 77.843
},
"oklch": {
"l": 0.94651,
"c": 0.12025,
"h": 100.7
},
"luminance": 0.85533
}Semantic roles & 50–950 ramp
primary
#FFF08E
secondary
#5164E0
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581