#F0D66C#F0D66C
#F0D66C is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.129 H 95.8°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D66C |
|---|---|
| RGB | rgb(240, 214, 108) |
| HSL | hsl(48, 81%, 68%) |
| HSV | hsv(48, 55%, 94%) |
| CMYK | cmyk(0%, 10.8%, 55%, 5.9%) |
| CIE-LAB | lab(85.86, -3.81, 54.89) |
| CIE-LCH | lch(85.86, 55.02, 93.97°) |
| OKLab | oklab(87.68% -0.013 0.1286) |
| OKLCH | oklch(87.68% 0.129 95.8) |
| XYZ | xyz(62.6909, 67.7039, 23.9504) |
| Luminance | 0.6770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.80
Light Mustard
#F7D560
ΔE00 2.41
Pale Gold
#FDDE6C
ΔE00 2.49
Wheat (survey)
#FBDD7E
ΔE00 2.77
Sand Yellow
#FCE166
ΔE00 3.17
Yellow Tan
#FFE36E
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D66C #6C86F0
analogous
#F0946C #F0D66C #C8F06C
triadic
#F0D66C #6CF0D6 #D66CF0
tetradic
#F0D66C #6CF094 #6C86F0 #F06CC8
square
#F0D66C #6CF094 #6C86F0 #F06CC8
split-complementary
#F0D66C #6CC8F0 #946CF0
monochromatic
#CDA915 #EAC734 #F0D66C #F6E5A4 #FBF5DB
Accessibility & contrast
On white
1.44
#F0D66C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.54
#F0D66C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D66C
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D66C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D66C | 1.00 | 1.44 | 14.54 | 14.54 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D262
Deuteranopia (green-blind)
#EFDA71
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d66c; /* rgb */ color: rgb(240, 214, 108); /* oklch */ color: oklch(87.7% 0.129 95.8);
Tailwind
colors: {
custom: {
50: '#f8e299',
500: '#f0d66c',
950: '#000000',
},
}SCSS
$custom: #f0d66c; $custom-light: #f8e299; $custom-dark: #000000;
JSON
{
"hex": "#f0d66c",
"rgb": {
"r": 240,
"g": 214,
"b": 108
},
"hsl": {
"h": 48.182,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.87683,
"c": 0.12923,
"h": 95.8
},
"luminance": 0.67701
}Semantic roles & 50–950 ramp
primary
#F0D66C
secondary
#3854C8
accent
#32DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F