#F0D770#F0D770
#F0D770 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.126 H 96.0°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D770 |
|---|---|
| RGB | rgb(240, 215, 112) |
| HSL | hsl(48, 81%, 69%) |
| HSV | hsv(48, 53%, 94%) |
| CMYK | cmyk(0%, 10.4%, 53.3%, 5.9%) |
| CIE-LAB | lab(86.16, -4.00, 53.37) |
| CIE-LCH | lch(86.16, 53.52, 94.29°) |
| OKLab | oklab(87.93% -0.0131 0.1257) |
| OKLCH | oklch(87.93% 0.126 96) |
| XYZ | xyz(63.1625, 68.2987, 25.1820) |
| Luminance | 0.6830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.29
Wheat (survey)
#FBDD7E
ΔE00 2.54
Pale Gold
#FDDE6C
ΔE00 2.64
Light Mustard
#F7D560
ΔE00 2.84
Yellow Tan
#FFE36E
ΔE00 3.27
Sand Yellow
#FCE166
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D770 #7089F0
analogous
#F09770 #F0D770 #C9F070
triadic
#F0D770 #70F0D7 #D770F0
tetradic
#F0D770 #70F097 #7089F0 #F070C9
square
#F0D770 #70F097 #7089F0 #F070C9
split-complementary
#F0D770 #70C9F0 #9770F0
monochromatic
#D0AB16 #EAC839 #F0D770 #F6E6A7 #FCF6DF
Accessibility & contrast
On white
1.43
#F0D770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.66
#F0D770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D770
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D770 | 1.00 | 1.43 | 14.66 | 14.66 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d770; /* rgb */ color: rgb(240, 215, 112); /* oklch */ color: oklch(87.9% 0.126 96.0);
Tailwind
colors: {
custom: {
50: '#f7e39c',
500: '#f0d770',
950: '#000000',
},
}SCSS
$custom: #f0d770; $custom-light: #f7e39c; $custom-dark: #000000;
JSON
{
"hex": "#f0d770",
"rgb": {
"r": 240,
"g": 215,
"b": 112
},
"hsl": {
"h": 48.281,
"s": 81.013,
"l": 69.02
},
"oklch": {
"l": 0.87932,
"c": 0.12635,
"h": 96
},
"luminance": 0.68296
}Semantic roles & 50–950 ramp
primary
#F0D770
secondary
#3B57C9
accent
#32DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F