#F0DA66#F0DA66
#F0DA66 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.4% C 0.138 H 98.7°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DA66 |
|---|---|
| RGB | rgb(240, 218, 102) |
| HSL | hsl(50, 82%, 67%) |
| HSV | hsv(50, 58%, 94%) |
| CMYK | cmyk(0%, 9.2%, 57.5%, 5.9%) |
| CIE-LAB | lab(86.82, -6.28, 58.73) |
| CIE-LCH | lch(86.82, 59.07, 96.10°) |
| OKLab | oklab(88.42% -0.0208 0.1362) |
| OKLCH | oklch(88.42% 0.138 98.7) |
| XYZ | xyz(63.4073, 69.6301, 22.6678) |
| Luminance | 0.6963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.84
Sand Yellow
#FCE166
ΔE00 2.26
Yellow Tan
#FFE36E
ΔE00 2.71
Pale Gold
#FDDE6C
ΔE00 2.74
Sandy
#F1DA7A
ΔE00 2.74
Light Gold
#FDDC5C
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DA66 #667CF0
analogous
#F09566 #F0DA66 #C1F066
triadic
#F0DA66 #66F0DA #DA66F0
tetradic
#F0DA66 #66F095 #667CF0 #F066C1
square
#F0DA66 #66F095 #667CF0 #F066C1
split-complementary
#F0DA66 #66C1F0 #9566F0
monochromatic
#C8AB14 #EBCD2E #F0DA66 #F5E79E #FBF5D5
Accessibility & contrast
On white
1.41
#F0DA66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.93
#F0DA66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DA66
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DA66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DA66 | 1.00 | 1.41 | 14.93 | 14.93 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD55A
Deuteranopia (green-blind)
#F3DD6C
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f0da66; /* rgb */ color: rgb(240, 218, 102); /* oklch */ color: oklch(88.4% 0.138 98.7);
Tailwind
colors: {
custom: {
50: '#f8e595',
500: '#f0da66',
950: '#000000',
},
}SCSS
$custom: #f0da66; $custom-light: #f8e595; $custom-dark: #000000;
JSON
{
"hex": "#f0da66",
"rgb": {
"r": 240,
"g": 218,
"b": 102
},
"hsl": {
"h": 50.435,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.8842,
"c": 0.13778,
"h": 98.7
},
"luminance": 0.69627
}Semantic roles & 50–950 ramp
primary
#F0DA66
secondary
#354CC5
accent
#29DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F