#F2E26C#F2E26C
#F2E26C is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.3% C 0.140 H 101.7°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E26C |
|---|---|
| RGB | rgb(242, 226, 108) |
| HSL | hsl(53, 84%, 69%) |
| HSV | hsv(53, 55%, 95%) |
| CMYK | cmyk(0%, 6.6%, 55.4%, 5.1%) |
| CIE-LAB | lab(89.09, -9.04, 58.67) |
| CIE-LCH | lch(89.09, 59.36, 98.76°) |
| OKLab | oklab(90.28% -0.0282 0.1367) |
| OKLCH | oklch(90.28% 0.14 101.7) |
| XYZ | xyz(66.5233, 74.3551, 25.0323) |
| Luminance | 0.7435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.94
Sandy Yellow
#FDEE73
ΔE00 2.59
Sand Yellow
#FCE166
ΔE00 2.92
Yellowish
#FAEE66
ΔE00 3.20
Yellow Tan
#FFE36E
ΔE00 3.23
Sandy
#F1DA7A
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E26C #6C7CF2
analogous
#F29F6C #F2E26C #BFF26C
triadic
#F2E26C #6CF2E2 #E26CF2
tetradic
#F2E26C #6CF29F #6C7CF2 #F26CBF
square
#F2E26C #6CF29F #6C7CF2 #F26CBF
split-complementary
#F2E26C #6CBFF2 #9F6CF2
monochromatic
#D1BA12 #EDD734 #F2E26C #F7EDA4 #FCF8DC
Accessibility & contrast
On white
1.32
#F2E26C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.87
#F2E26C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E26C
15.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E26C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E26C | 1.00 | 1.32 | 15.87 | 15.87 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC60
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e26c; /* rgb */ color: rgb(242, 226, 108); /* oklch */ color: oklch(90.3% 0.140 101.7);
Tailwind
colors: {
custom: {
50: '#f9ea99',
500: '#f2e26c',
950: '#000000',
},
}SCSS
$custom: #f2e26c; $custom-light: #f9ea99; $custom-dark: #000000;
JSON
{
"hex": "#f2e26c",
"rgb": {
"r": 242,
"g": 226,
"b": 108
},
"hsl": {
"h": 52.836,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.90284,
"c": 0.13958,
"h": 101.7
},
"luminance": 0.74353
}Semantic roles & 50–950 ramp
primary
#F2E26C
secondary
#3749CB
accent
#1FE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F