#F0D178#F0D178
#F0D178 is a very light, moderate orange. Relative luminance 0.655; OKLCH L 86.8% C 0.114 H 90.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D178 |
|---|---|
| RGB | rgb(240, 209, 120) |
| HSL | hsl(45, 80%, 71%) |
| HSV | hsv(45, 50%, 94%) |
| CMYK | cmyk(0%, 12.9%, 50%, 5.9%) |
| CIE-LAB | lab(84.73, -0.26, 47.82) |
| CIE-LCH | lch(84.73, 47.82, 90.32°) |
| OKLab | oklab(86.84% -0.0014 0.1142) |
| OKLCH | oklch(86.84% 0.114 90.7) |
| XYZ | xyz(62.1280, 65.4851, 27.1330) |
| Luminance | 0.6548 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.78
Wheat (survey)
#FBDD7E
ΔE00 2.83
Sandy
#F1DA7A
ΔE00 3.17
Light Mustard
#F7D560
ΔE00 3.91
Pale Gold
#FDDE6C
ΔE00 4.48
Maize
#F4D054
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D178 #7897F0
analogous
#F09578 #F0D178 #D3F078
triadic
#F0D178 #78F0D1 #D178F0
tetradic
#F0D178 #78F095 #7897F0 #F078D3
square
#F0D178 #78F095 #7897F0 #F078D3
split-complementary
#F0D178 #78D3F0 #9578F0
monochromatic
#D6A518 #EABE41 #F0D178 #F6E4AF #FCF6E3
Accessibility & contrast
On white
1.49
#F0D178 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.10
#F0D178 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D178
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D178 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D178 | 1.00 | 1.49 | 14.10 | 14.10 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE70
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d178; /* rgb */ color: rgb(240, 209, 120); /* oklch */ color: oklch(86.8% 0.114 90.7);
Tailwind
colors: {
custom: {
50: '#f7dea1',
500: '#f0d178',
950: '#000000',
},
}SCSS
$custom: #f0d178; $custom-light: #f7dea1; $custom-dark: #000000;
JSON
{
"hex": "#f0d178",
"rgb": {
"r": 240,
"g": 209,
"b": 120
},
"hsl": {
"h": 44.5,
"s": 80,
"l": 70.588
},
"oklch": {
"l": 0.86839,
"c": 0.11419,
"h": 90.7
},
"luminance": 0.65482
}Semantic roles & 50–950 ramp
primary
#F0D178
secondary
#4265CA
accent
#40DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480