#F2E173#F2E173
#F2E173 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.132 H 100.7°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E173 |
|---|---|
| RGB | rgb(242, 225, 115) |
| HSL | hsl(52, 83%, 70%) |
| HSV | hsv(52, 52%, 95%) |
| CMYK | cmyk(0%, 7%, 52.5%, 5.1%) |
| CIE-LAB | lab(88.91, -8.00, 55.25) |
| CIE-LCH | lch(88.91, 55.83, 98.24°) |
| OKLab | oklab(90.16% -0.0244 0.13) |
| OKLCH | oklch(90.16% 0.132 100.7) |
| XYZ | xyz(66.6398, 73.9679, 26.9833) |
| Luminance | 0.7397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.60
Sandy
#F1DA7A
ΔE00 2.88
Sand Yellow
#FCE166
ΔE00 3.03
Yellow Tan
#FFE36E
ΔE00 3.09
Sandy Yellow
#FDEE73
ΔE00 3.11
Khaki (CSS)
#F0E68C
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E173 #7384F2
analogous
#F2A273 #F2E173 #C3F273
triadic
#F2E173 #73F2E1 #E173F2
tetradic
#F2E173 #73F2A2 #7384F2 #F273C3
square
#F2E173 #73F2A2 #7384F2 #F273C3
split-complementary
#F2E173 #73C3F2 #A273F2
monochromatic
#D7BD14 #EDD53B #F2E173 #F7EDAB #FCF9E3
Accessibility & contrast
On white
1.33
#F2E173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.79
#F2E173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E173
15.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E173 | 1.00 | 1.33 | 15.79 | 15.79 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DB69
Deuteranopia (green-blind)
#F8E278
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2e173; /* rgb */ color: rgb(242, 225, 115); /* oklch */ color: oklch(90.2% 0.132 100.7);
Tailwind
colors: {
custom: {
50: '#f9ea9e',
500: '#f2e173',
950: '#000000',
},
}SCSS
$custom: #f2e173; $custom-light: #f9ea9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e173",
"rgb": {
"r": 242,
"g": 225,
"b": 115
},
"hsl": {
"h": 51.969,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.90163,
"c": 0.13229,
"h": 100.7
},
"luminance": 0.73965
}Semantic roles & 50–950 ramp
primary
#F2E173
secondary
#3D51CC
accent
#23DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480