#F0E26A#F0E26A
#F0E26A is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.141 H 102.7°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E26A |
|---|---|
| RGB | rgb(240, 226, 106) |
| HSL | hsl(54, 82%, 68%) |
| HSV | hsv(54, 56%, 94%) |
| CMYK | cmyk(0%, 5.8%, 55.8%, 5.9%) |
| CIE-LAB | lab(88.90, -10.00, 59.31) |
| CIE-LCH | lch(88.90, 60.15, 99.57°) |
| OKLab | oklab(90.09% -0.0311 0.1379) |
| OKLCH | oklch(90.09% 0.141 102.7) |
| XYZ | xyz(65.7353, 73.9609, 24.4461) |
| Luminance | 0.7396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.96
Sandy Yellow
#FDEE73
ΔE00 2.64
Yellowish
#FAEE66
ΔE00 3.01
Sand Yellow
#FCE166
ΔE00 3.41
Yellow Tan
#FFE36E
ΔE00 3.77
Sandy
#F1DA7A
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E26A #6A78F0
analogous
#F09F6A #F0E26A #BBF06A
triadic
#F0E26A #6AF0E2 #E26AF0
tetradic
#F0E26A #6AF09F #6A78F0 #F06ABB
square
#F0E26A #6AF09F #6A78F0 #F06ABB
split-complementary
#F0E26A #6ABBF0 #9F6AF0
monochromatic
#CBB814 #EAD732 #F0E26A #F6EDA2 #FBF8D9
Accessibility & contrast
On white
1.33
#F0E26A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.79
#F0E26A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E26A
15.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E26A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E26A | 1.00 | 1.33 | 15.79 | 15.79 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC5E
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f0e26a; /* rgb */ color: rgb(240, 226, 106); /* oklch */ color: oklch(90.1% 0.141 102.7);
Tailwind
colors: {
custom: {
50: '#f8ea98',
500: '#f0e26a',
950: '#000000',
},
}SCSS
$custom: #f0e26a; $custom-light: #f8ea98; $custom-dark: #000000;
JSON
{
"hex": "#f0e26a",
"rgb": {
"r": 240,
"g": 226,
"b": 106
},
"hsl": {
"h": 53.731,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.9009,
"c": 0.14135,
"h": 102.7
},
"luminance": 0.73959
}Semantic roles & 50–950 ramp
primary
#F0E26A
secondary
#3646C8
accent
#1EDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F