#F0E76A#F0E76A
#F0E76A is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.146 H 105.1°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E76A |
|---|---|
| RGB | rgb(240, 231, 106) |
| HSL | hsl(56, 82%, 68%) |
| HSV | hsv(56, 56%, 94%) |
| CMYK | cmyk(0%, 3.7%, 55.8%, 5.9%) |
| CIE-LAB | lab(90.19, -12.48, 60.78) |
| CIE-LCH | lch(90.19, 62.05, 101.61°) |
| OKLab | oklab(91.11% -0.0382 0.141) |
| OKLCH | oklch(91.11% 0.146 105.1) |
| XYZ | xyz(67.1147, 76.7199, 24.9059) |
| Luminance | 0.7672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.12
Sandy Yellow
#FDEE73
ΔE00 2.29
Straw
#FCF679
ΔE00 3.17
Dull Yellow
#EEDC5B
ΔE00 3.20
Manilla
#FFFA86
ΔE00 4.26
Custard
#FFFD78
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E76A #6A73F0
analogous
#F0A46A #F0E76A #B6F06A
triadic
#F0E76A #6AF0E7 #E76AF0
tetradic
#F0E76A #6AF0A4 #6A73F0 #F06AB6
square
#F0E76A #6AF0A4 #6A73F0 #F06AB6
split-complementary
#F0E76A #6AB6F0 #A46AF0
monochromatic
#CBBF14 #EADE32 #F0E76A #F6F0A2 #FBF9D9
Accessibility & contrast
On white
1.28
#F0E76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.34
#F0E76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E76A
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E76A | 1.00 | 1.28 | 16.34 | 16.34 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FCE671
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f0e76a; /* rgb */ color: rgb(240, 231, 106); /* oklch */ color: oklch(91.1% 0.146 105.1);
Tailwind
colors: {
custom: {
50: '#f8ee98',
500: '#f0e76a',
950: '#000000',
},
}SCSS
$custom: #f0e76a; $custom-light: #f8ee98; $custom-dark: #000000;
JSON
{
"hex": "#f0e76a",
"rgb": {
"r": 240,
"g": 231,
"b": 106
},
"hsl": {
"h": 55.97,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.91114,
"c": 0.14611,
"h": 105.1
},
"luminance": 0.76718
}Semantic roles & 50–950 ramp
primary
#F0E76A
secondary
#3640C8
accent
#16DE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F