#F2E673#F2E673
#F2E673 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.137 H 103.3°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E673 |
|---|---|
| RGB | rgb(242, 230, 115) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 52%, 95%) |
| CMYK | cmyk(0%, 5%, 52.5%, 5.1%) |
| CIE-LAB | lab(90.19, -10.49, 56.75) |
| CIE-LCH | lch(90.19, 57.71, 100.47°) |
| OKLab | oklab(91.18% -0.0316 0.1333) |
| OKLCH | oklch(91.18% 0.137 103.3) |
| XYZ | xyz(68.0113, 76.7109, 27.4405) |
| Luminance | 0.7671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.15
Yellowish
#FAEE66
ΔE00 2.86
Dull Yellow
#EEDC5B
ΔE00 3.14
Khaki (CSS)
#F0E68C
ΔE00 3.59
Straw
#FCF679
ΔE00 3.60
Sand Yellow
#FCE166
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E673 #737FF2
analogous
#F2A773 #F2E673 #BEF273
triadic
#F2E673 #73F2E6 #E673F2
tetradic
#F2E673 #73F2A7 #737FF2 #F273BE
square
#F2E673 #73F2A7 #737FF2 #F273BE
split-complementary
#F2E673 #73BEF2 #A773F2
monochromatic
#D7C414 #EDDC3B #F2E673 #F7F0AB #FCFAE3
Accessibility & contrast
On white
1.29
#F2E673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.34
#F2E673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E673
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E673 | 1.00 | 1.29 | 16.34 | 16.34 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e673; /* rgb */ color: rgb(242, 230, 115); /* oklch */ color: oklch(91.2% 0.137 103.3);
Tailwind
colors: {
custom: {
50: '#f9ed9e',
500: '#f2e673',
950: '#000000',
},
}SCSS
$custom: #f2e673; $custom-light: #f9ed9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e673",
"rgb": {
"r": 242,
"g": 230,
"b": 115
},
"hsl": {
"h": 54.331,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.91179,
"c": 0.13698,
"h": 103.3
},
"luminance": 0.76709
}Semantic roles & 50–950 ramp
primary
#F2E673
secondary
#3D4BCC
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480