#F2E26A#F2E26A
#F2E26A is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.141 H 101.8°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E26A |
|---|---|
| RGB | rgb(242, 226, 106) |
| HSL | hsl(53, 84%, 68%) |
| HSV | hsv(53, 56%, 95%) |
| CMYK | cmyk(0%, 6.6%, 56.2%, 5.1%) |
| CIE-LAB | lab(89.07, -9.19, 59.55) |
| CIE-LCH | lch(89.07, 60.25, 98.78°) |
| OKLab | oklab(90.26% -0.0289 0.1384) |
| OKLCH | oklch(90.26% 0.141 101.8) |
| XYZ | xyz(66.4181, 74.3130, 24.4781) |
| Luminance | 0.7431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.78
Sandy Yellow
#FDEE73
ΔE00 2.57
Sand Yellow
#FCE166
ΔE00 2.89
Yellowish
#FAEE66
ΔE00 3.07
Yellow Tan
#FFE36E
ΔE00 3.26
Sandy
#F1DA7A
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E26A #6A7AF2
analogous
#F29E6A #F2E26A #BEF26A
triadic
#F2E26A #6AF2E2 #E26AF2
tetradic
#F2E26A #6AF29E #6A7AF2 #F26ABE
square
#F2E26A #6AF29E #6A7AF2 #F26ABE
split-complementary
#F2E26A #6ABEF2 #9E6AF2
monochromatic
#CFB912 #EDD732 #F2E26A #F7EDA2 #FCF8DB
Accessibility & contrast
On white
1.32
#F2E26A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.86
#F2E26A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E26A
15.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E26A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E26A | 1.00 | 1.32 | 15.86 | 15.86 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC5E
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e26a; /* rgb */ color: rgb(242, 226, 106); /* oklch */ color: oklch(90.3% 0.141 101.8);
Tailwind
colors: {
custom: {
50: '#f9ea98',
500: '#f2e26a',
950: '#000000',
},
}SCSS
$custom: #f2e26a; $custom-light: #f9ea98; $custom-dark: #000000;
JSON
{
"hex": "#f2e26a",
"rgb": {
"r": 242,
"g": 226,
"b": 106
},
"hsl": {
"h": 52.941,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.90262,
"c": 0.14134,
"h": 101.8
},
"luminance": 0.74311
}Semantic roles & 50–950 ramp
primary
#F2E26A
secondary
#3647CB
accent
#1FE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F