#F0D767#F0D767
#F0D767 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.134 H 96.9°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D767 |
|---|---|
| RGB | rgb(240, 215, 103) |
| HSL | hsl(49, 82%, 67%) |
| HSV | hsv(49, 57%, 94%) |
| CMYK | cmyk(0%, 10.4%, 57.1%, 5.9%) |
| CIE-LAB | lab(86.06, -4.69, 57.42) |
| CIE-LCH | lch(86.06, 57.61, 94.67°) |
| OKLab | oklab(87.83% -0.0161 0.1335) |
| OKLCH | oklch(87.83% 0.134 96.9) |
| XYZ | xyz(62.6862, 68.1082, 22.6736) |
| Luminance | 0.6811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.34
Pale Gold
#FDDE6C
ΔE00 2.39
Light Mustard
#F7D560
ΔE00 2.44
Sand Yellow
#FCE166
ΔE00 2.62
Dull Yellow
#EEDC5B
ΔE00 2.86
Yellow Tan
#FFE36E
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D767 #6780F0
analogous
#F09367 #F0D767 #C5F067
triadic
#F0D767 #67F0D7 #D767F0
tetradic
#F0D767 #67F093 #6780F0 #F067C5
square
#F0D767 #67F093 #6780F0 #F067C5
split-complementary
#F0D767 #67C5F0 #9367F0
monochromatic
#C9A814 #EBC82F #F0D767 #F5E69F #FBF4D6
Accessibility & contrast
On white
1.44
#F0D767 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.62
#F0D767 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D767
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D767 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D767 | 1.00 | 1.44 | 14.62 | 14.62 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD25C
Deuteranopia (green-blind)
#F0DB6C
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d767; /* rgb */ color: rgb(240, 215, 103); /* oklch */ color: oklch(87.8% 0.134 96.9);
Tailwind
colors: {
custom: {
50: '#f8e396',
500: '#f0d767',
950: '#000000',
},
}SCSS
$custom: #f0d767; $custom-light: #f8e396; $custom-dark: #000000;
JSON
{
"hex": "#f0d767",
"rgb": {
"r": 240,
"g": 215,
"b": 103
},
"hsl": {
"h": 49.051,
"s": 82.036,
"l": 67.255
},
"oklch": {
"l": 0.87826,
"c": 0.13447,
"h": 96.9
},
"luminance": 0.68105
}Semantic roles & 50–950 ramp
primary
#F0D767
secondary
#3550C6
accent
#2EDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F