#F0D46A#F0D46A
#F0D46A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.129 H 94.8°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D46A |
|---|---|
| RGB | rgb(240, 212, 106) |
| HSL | hsl(47, 82%, 68%) |
| HSV | hsv(47, 56%, 94%) |
| CMYK | cmyk(0%, 11.7%, 55.8%, 5.9%) |
| CIE-LAB | lab(85.33, -2.94, 55.20) |
| CIE-LCH | lch(85.33, 55.28, 93.05°) |
| OKLab | oklab(87.26% -0.0108 0.129) |
| OKLCH | oklch(87.26% 0.129 94.8) |
| XYZ | xyz(62.0826, 66.6557, 23.2286) |
| Luminance | 0.6665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.01
Sandy
#F1DA7A
ΔE00 2.26
Pale Gold
#FDDE6C
ΔE00 2.61
Wheat (survey)
#FBDD7E
ΔE00 2.84
Maize
#F4D054
ΔE00 2.94
Light Gold
#FDDC5C
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D46A #6A86F0
analogous
#F0916A #F0D46A #C9F06A
triadic
#F0D46A #6AF0D4 #D46AF0
tetradic
#F0D46A #6AF091 #6A86F0 #F06AC9
square
#F0D46A #6AF091 #6A86F0 #F06AC9
split-complementary
#F0D46A #6AC9F0 #916AF0
monochromatic
#CBA514 #EAC432 #F0D46A #F6E4A2 #FBF4D9
Accessibility & contrast
On white
1.47
#F0D46A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#F0D46A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D46A
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D46A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D46A | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D060
Deuteranopia (green-blind)
#EED96F
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d46a; /* rgb */ color: rgb(240, 212, 106); /* oklch */ color: oklch(87.3% 0.129 94.8);
Tailwind
colors: {
custom: {
50: '#f8e097',
500: '#f0d46a',
950: '#000000',
},
}SCSS
$custom: #f0d46a; $custom-light: #f8e097; $custom-dark: #000000;
JSON
{
"hex": "#f0d46a",
"rgb": {
"r": 240,
"g": 212,
"b": 106
},
"hsl": {
"h": 47.463,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.87258,
"c": 0.12949,
"h": 94.8
},
"luminance": 0.66653
}Semantic roles & 50–950 ramp
primary
#F0D46A
secondary
#3655C8
accent
#34DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F