#F0D358#F0D358
#F0D358 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.144 H 96.0°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D358 |
|---|---|
| RGB | rgb(240, 211, 88) |
| HSL | hsl(49, 84%, 64%) |
| HSV | hsv(49, 63%, 94%) |
| CMYK | cmyk(0%, 12.1%, 63.3%, 5.9%) |
| CIE-LAB | lab(84.91, -3.66, 62.76) |
| CIE-LCH | lch(84.91, 62.87, 93.34°) |
| OKLab | oklab(86.87% -0.0149 0.143) |
| OKLCH | oklch(86.87% 0.144 96) |
| XYZ | xyz(60.9936, 65.8214, 18.7227) |
| Luminance | 0.6582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.74
Maize
#F4D054
ΔE00 1.92
Light Gold
#FDDC5C
ΔE00 2.43
Pale Gold
#FDDE6C
ΔE00 2.91
Sand Yellow
#FCE166
ΔE00 3.14
Dull Yellow
#EEDC5B
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D358 #5875F0
analogous
#F08758 #F0D358 #C1F058
triadic
#F0D358 #58F0D3 #D358F0
tetradic
#F0D358 #58F087 #5875F0 #F058C1
square
#F0D358 #58F087 #5875F0 #F058C1
split-complementary
#F0D358 #58C1F0 #8758F0
monochromatic
#BD9C11 #EBC420 #F0D358 #F5E290 #FAF1C8
Accessibility & contrast
On white
1.48
#F0D358 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#F0D358 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D358
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D358 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D358 | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f0d358; /* rgb */ color: rgb(240, 211, 88); /* oklch */ color: oklch(86.9% 0.144 96.0);
Tailwind
colors: {
custom: {
50: '#f8e08c',
500: '#f0d358',
950: '#000000',
},
}SCSS
$custom: #f0d358; $custom-light: #f8e08c; $custom-dark: #000000;
JSON
{
"hex": "#f0d358",
"rgb": {
"r": 240,
"g": 211,
"b": 88
},
"hsl": {
"h": 48.553,
"s": 83.516,
"l": 64.314
},
"oklch": {
"l": 0.86867,
"c": 0.14375,
"h": 96
},
"luminance": 0.65818
}Semantic roles & 50–950 ramp
primary
#F0D358
secondary
#314BBB
accent
#2FE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F