#F0E36C#F0E36C
#F0E36C is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.3% C 0.141 H 103.1°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E36C |
|---|---|
| RGB | rgb(240, 227, 108) |
| HSL | hsl(54, 81%, 68%) |
| HSV | hsv(54, 55%, 94%) |
| CMYK | cmyk(0%, 5.4%, 55%, 5.9%) |
| CIE-LAB | lab(89.18, -10.35, 58.73) |
| CIE-LCH | lch(89.18, 59.63, 99.99°) |
| OKLab | oklab(90.32% -0.0318 0.1369) |
| OKLCH | oklch(90.32% 0.141 103.1) |
| XYZ | xyz(66.1132, 74.5485, 25.0912) |
| Luminance | 0.7455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.29
Sandy Yellow
#FDEE73
ΔE00 2.51
Yellowish
#FAEE66
ΔE00 2.91
Sand Yellow
#FCE166
ΔE00 3.67
Yellow Tan
#FFE36E
ΔE00 3.98
Straw
#FCF679
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E36C #6C79F0
analogous
#F0A16C #F0E36C #BBF06C
triadic
#F0E36C #6CF0E3 #E36CF0
tetradic
#F0E36C #6CF0A1 #6C79F0 #F06CBB
square
#F0E36C #6CF0A1 #6C79F0 #F06CBB
split-complementary
#F0E36C #6CBBF0 #A16CF0
monochromatic
#CDBB15 #EAD834 #F0E36C #F6EEA4 #FBF8DB
Accessibility & contrast
On white
1.32
#F0E36C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.91
#F0E36C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E36C
15.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E36C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E36C | 1.00 | 1.32 | 15.91 | 15.91 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DC60
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f0e36c; /* rgb */ color: rgb(240, 227, 108); /* oklch */ color: oklch(90.3% 0.141 103.1);
Tailwind
colors: {
custom: {
50: '#f7eb9a',
500: '#f0e36c',
950: '#000000',
},
}SCSS
$custom: #f0e36c; $custom-light: #f7eb9a; $custom-dark: #000000;
JSON
{
"hex": "#f0e36c",
"rgb": {
"r": 240,
"g": 227,
"b": 108
},
"hsl": {
"h": 54.091,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.90316,
"c": 0.14052,
"h": 103.1
},
"luminance": 0.74546
}Semantic roles & 50–950 ramp
primary
#F0E36C
secondary
#3846C8
accent
#1DDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F