#F2EF92#F2EF92
#F2EF92 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.115 H 106.8°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EF92 |
|---|---|
| RGB | rgb(242, 239, 146) |
| HSL | hsl(58, 79%, 76%) |
| HSV | hsv(58, 40%, 95%) |
| CMYK | cmyk(0%, 1.2%, 39.7%, 5.1%) |
| CIE-LAB | lab(92.88, -12.09, 45.30) |
| CIE-LCH | lch(92.88, 46.88, 104.94°) |
| OKLab | oklab(93.44% -0.0333 0.1101) |
| OKLCH | oklch(93.44% 0.115 106.8) |
| XYZ | xyz(72.6739, 82.6872, 39.3205) |
| Luminance | 0.8269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.28
Khaki (CSS)
#F0E68C
ΔE00 2.50
Dark Cream
#FFF39A
ΔE00 2.74
Manilla
#FFFA86
ΔE00 3.91
Parchment
#FEFCAF
ΔE00 3.98
Straw
#FCF679
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EF92 #9295F2
analogous
#F2BF92 #F2EF92 #C5F292
triadic
#F2EF92 #92F2EF #EF92F2
tetradic
#F2EF92 #92F2BF #9295F2 #F292C5
square
#F2EF92 #92F2BF #9295F2 #F292C5
split-complementary
#F2EF92 #92C5F2 #BF92F2
monochromatic
#E5DF25 #EBE75B #F2EF92 #F9F7C9 #FCFBE4
Accessibility & contrast
On white
1.20
#F2EF92 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.54
#F2EF92 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EF92
17.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EF92 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EF92 | 1.00 | 1.20 | 17.54 | 17.54 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE88B
Deuteranopia (green-blind)
#FFEC96
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2ef92; /* rgb */ color: rgb(242, 239, 146); /* oklch */ color: oklch(93.4% 0.115 106.8);
Tailwind
colors: {
custom: {
50: '#f8f4b3',
500: '#f2ef92',
950: '#000000',
},
}SCSS
$custom: #f2ef92; $custom-light: #f8f4b3; $custom-dark: #000000;
JSON
{
"hex": "#f2ef92",
"rgb": {
"r": 242,
"g": 239,
"b": 146
},
"hsl": {
"h": 58.125,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.93437,
"c": 0.11507,
"h": 106.8
},
"luminance": 0.82686
}Semantic roles & 50–950 ramp
primary
#F2EF92
secondary
#595DCF
accent
#11DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581