#F0D76C#F0D76C
#F0D76C is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.130 H 96.4°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D76C |
|---|---|
| RGB | rgb(240, 215, 108) |
| HSL | hsl(49, 81%, 68%) |
| HSV | hsv(49, 55%, 94%) |
| CMYK | cmyk(0%, 10.4%, 55%, 5.9%) |
| CIE-LAB | lab(86.11, -4.32, 55.18) |
| CIE-LCH | lch(86.11, 55.35, 94.47°) |
| OKLab | oklab(87.88% -0.0145 0.1292) |
| OKLCH | oklch(87.88% 0.13 96.4) |
| XYZ | xyz(62.9447, 68.2116, 24.0350) |
| Luminance | 0.6821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.75
Pale Gold
#FDDE6C
ΔE00 2.46
Light Mustard
#F7D560
ΔE00 2.60
Wheat (survey)
#FBDD7E
ΔE00 2.89
Sand Yellow
#FCE166
ΔE00 2.96
Yellow Tan
#FFE36E
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D76C #6C85F0
analogous
#F0956C #F0D76C #C7F06C
triadic
#F0D76C #6CF0D7 #D76CF0
tetradic
#F0D76C #6CF095 #6C85F0 #F06CC7
square
#F0D76C #6CF095 #6C85F0 #F06CC7
split-complementary
#F0D76C #6CC7F0 #956CF0
monochromatic
#CDAA15 #EAC834 #F0D76C #F6E6A4 #FBF5DB
Accessibility & contrast
On white
1.43
#F0D76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.64
#F0D76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D76C
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D76C | 1.00 | 1.43 | 14.64 | 14.64 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D362
Deuteranopia (green-blind)
#F0DB71
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d76c; /* rgb */ color: rgb(240, 215, 108); /* oklch */ color: oklch(87.9% 0.130 96.4);
Tailwind
colors: {
custom: {
50: '#f8e399',
500: '#f0d76c',
950: '#000000',
},
}SCSS
$custom: #f0d76c; $custom-light: #f8e399; $custom-dark: #000000;
JSON
{
"hex": "#f0d76c",
"rgb": {
"r": 240,
"g": 215,
"b": 108
},
"hsl": {
"h": 48.636,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.87883,
"c": 0.13002,
"h": 96.4
},
"luminance": 0.68209
}Semantic roles & 50–950 ramp
primary
#F0D76C
secondary
#3853C8
accent
#30DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F