#F2E279#F2E279
#F2E279 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.4% C 0.127 H 100.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E279 |
|---|---|
| RGB | rgb(242, 226, 121) |
| HSL | hsl(52, 82%, 71%) |
| HSV | hsv(52, 50%, 95%) |
| CMYK | cmyk(0%, 6.6%, 50%, 5.1%) |
| CIE-LAB | lab(89.23, -8.00, 52.82) |
| CIE-LCH | lch(89.23, 53.43, 98.61°) |
| OKLab | oklab(90.44% -0.0238 0.1253) |
| OKLCH | oklch(90.44% 0.127 100.8) |
| XYZ | xyz(67.2675, 74.6528, 28.9515) |
| Luminance | 0.7465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.77
Khaki (CSS)
#F0E68C
ΔE00 2.88
Sandy Yellow
#FDEE73
ΔE00 3.30
Dull Yellow
#EEDC5B
ΔE00 3.33
Yellow Tan
#FFE36E
ΔE00 3.51
Sand Yellow
#FCE166
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E279 #7989F2
analogous
#F2A579 #F2E279 #C5F279
triadic
#F2E279 #79F2E2 #E279F2
tetradic
#F2E279 #79F2A5 #7989F2 #F279C5
square
#F2E279 #79F2A5 #7989F2 #F279C5
split-complementary
#F2E279 #79C5F2 #A579F2
monochromatic
#DBC115 #EDD641 #F2E279 #F7EEB1 #FCF9E3
Accessibility & contrast
On white
1.32
#F2E279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.93
#F2E279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E279
15.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E279 | 1.00 | 1.32 | 15.93 | 15.93 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DC70
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f2e279; /* rgb */ color: rgb(242, 226, 121); /* oklch */ color: oklch(90.4% 0.127 100.8);
Tailwind
colors: {
custom: {
50: '#f8eaa2',
500: '#f2e279',
950: '#000000',
},
}SCSS
$custom: #f2e279; $custom-light: #f8eaa2; $custom-dark: #000000;
JSON
{
"hex": "#f2e279",
"rgb": {
"r": 242,
"g": 226,
"b": 121
},
"hsl": {
"h": 52.066,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.9044,
"c": 0.12749,
"h": 100.8
},
"luminance": 0.7465
}Semantic roles & 50–950 ramp
primary
#F2E279
secondary
#4355CC
accent
#23DF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480