#F2E36A#F2E36A
#F2E36A is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.142 H 102.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E36A |
|---|---|
| RGB | rgb(242, 227, 106) |
| HSL | hsl(53, 84%, 68%) |
| HSV | hsv(53, 56%, 95%) |
| CMYK | cmyk(0%, 6.2%, 56.2%, 5.1%) |
| CIE-LAB | lab(89.33, -9.69, 59.84) |
| CIE-LCH | lch(89.33, 60.62, 99.20°) |
| OKLab | oklab(90.46% -0.0303 0.139) |
| OKLCH | oklch(90.46% 0.142 102.3) |
| XYZ | xyz(66.6908, 74.8585, 24.5690) |
| Luminance | 0.7486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.95
Sandy Yellow
#FDEE73
ΔE00 2.37
Yellowish
#FAEE66
ΔE00 2.80
Sand Yellow
#FCE166
ΔE00 3.13
Yellow Tan
#FFE36E
ΔE00 3.49
Sandy
#F1DA7A
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E36A #6A79F2
analogous
#F29F6A #F2E36A #BDF26A
triadic
#F2E36A #6AF2E3 #E36AF2
tetradic
#F2E36A #6AF29F #6A79F2 #F26ABD
square
#F2E36A #6AF29F #6A79F2 #F26ABD
split-complementary
#F2E36A #6ABDF2 #9F6AF2
monochromatic
#CFBB12 #EDD832 #F2E36A #F7EEA2 #FCF8DB
Accessibility & contrast
On white
1.31
#F2E36A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#F2E36A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E36A
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E36A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E36A | 1.00 | 1.31 | 15.97 | 15.97 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DD5E
Deuteranopia (green-blind)
#FAE470
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e36a; /* rgb */ color: rgb(242, 227, 106); /* oklch */ color: oklch(90.5% 0.142 102.3);
Tailwind
colors: {
custom: {
50: '#f9eb98',
500: '#f2e36a',
950: '#000000',
},
}SCSS
$custom: #f2e36a; $custom-light: #f9eb98; $custom-dark: #000000;
JSON
{
"hex": "#f2e36a",
"rgb": {
"r": 242,
"g": 227,
"b": 106
},
"hsl": {
"h": 53.382,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.90465,
"c": 0.14225,
"h": 102.3
},
"luminance": 0.74856
}Semantic roles & 50–950 ramp
primary
#F2E36A
secondary
#3646CB
accent
#1DE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F