#F2E473#F2E473
#F2E473 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.8% C 0.135 H 102.3°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E473 |
|---|---|
| RGB | rgb(242, 228, 115) |
| HSL | hsl(53, 83%, 70%) |
| HSV | hsv(53, 52%, 95%) |
| CMYK | cmyk(0%, 5.8%, 52.5%, 5.1%) |
| CIE-LAB | lab(89.68, -9.50, 56.15) |
| CIE-LCH | lch(89.68, 56.95, 99.60°) |
| OKLab | oklab(90.77% -0.0288 0.132) |
| OKLCH | oklch(90.77% 0.135 102.3) |
| XYZ | xyz(67.4579, 75.6042, 27.2560) |
| Luminance | 0.7560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.44
Dull Yellow
#EEDC5B
ΔE00 2.82
Yellowish
#FAEE66
ΔE00 3.27
Khaki (CSS)
#F0E68C
ΔE00 3.51
Sand Yellow
#FCE166
ΔE00 3.60
Yellow Tan
#FFE36E
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E473 #7381F2
analogous
#F2A573 #F2E473 #C0F273
triadic
#F2E473 #73F2E4 #E473F2
tetradic
#F2E473 #73F2A5 #7381F2 #F273C0
square
#F2E473 #73F2A5 #7381F2 #F273C0
split-complementary
#F2E473 #73C0F2 #A573F2
monochromatic
#D7C114 #EDD93B #F2E473 #F7EFAB #FCFAE3
Accessibility & contrast
On white
1.30
#F2E473 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.12
#F2E473 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E473
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E473 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E473 | 1.00 | 1.30 | 16.12 | 16.12 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DE68
Deuteranopia (green-blind)
#FAE478
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e473; /* rgb */ color: rgb(242, 228, 115); /* oklch */ color: oklch(90.8% 0.135 102.3);
Tailwind
colors: {
custom: {
50: '#f9ec9e',
500: '#f2e473',
950: '#000000',
},
}SCSS
$custom: #f2e473; $custom-light: #f9ec9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e473",
"rgb": {
"r": 242,
"g": 228,
"b": 115
},
"hsl": {
"h": 53.386,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.90772,
"c": 0.13507,
"h": 102.3
},
"luminance": 0.75602
}Semantic roles & 50–950 ramp
primary
#F2E473
secondary
#3D4DCC
accent
#1EDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480