#F2E672#F2E672
#F2E672 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.138 H 103.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E672 |
|---|---|
| RGB | rgb(242, 230, 114) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 53%, 95%) |
| CMYK | cmyk(0%, 5%, 52.9%, 5.1%) |
| CIE-LAB | lab(90.18, -10.57, 57.20) |
| CIE-LCH | lch(90.18, 58.17, 100.47°) |
| OKLab | oklab(91.17% -0.0319 0.1342) |
| OKLCH | oklch(91.17% 0.138 103.4) |
| XYZ | xyz(67.9541, 76.6880, 27.1391) |
| Luminance | 0.7669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.11
Yellowish
#FAEE66
ΔE00 2.76
Dull Yellow
#EEDC5B
ΔE00 3.07
Straw
#FCF679
ΔE00 3.57
Khaki (CSS)
#F0E68C
ΔE00 3.71
Sand Yellow
#FCE166
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E672 #727EF2
analogous
#F2A672 #F2E672 #BEF272
triadic
#F2E672 #72F2E6 #E672F2
tetradic
#F2E672 #72F2A6 #727EF2 #F272BE
square
#F2E672 #72F2A6 #727EF2 #F272BE
split-complementary
#F2E672 #72BEF2 #A672F2
monochromatic
#D6C414 #EDDC3A #F2E672 #F7F0AA #FCFAE2
Accessibility & contrast
On white
1.29
#F2E672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.34
#F2E672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E672
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E672 | 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)
#F7DF67
Deuteranopia (green-blind)
#FBE678
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e672; /* rgb */ color: rgb(242, 230, 114); /* oklch */ color: oklch(91.2% 0.138 103.4);
Tailwind
colors: {
custom: {
50: '#f9ed9e',
500: '#f2e672',
950: '#000000',
},
}SCSS
$custom: #f2e672; $custom-light: #f9ed9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e672",
"rgb": {
"r": 242,
"g": 230,
"b": 114
},
"hsl": {
"h": 54.375,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.91167,
"c": 0.1379,
"h": 103.4
},
"luminance": 0.76686
}Semantic roles & 50–950 ramp
primary
#F2E672
secondary
#3D4ACC
accent
#1AE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480