#F2E592#F2E592
#F2E592 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.104 H 100.5°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E592 |
|---|---|
| RGB | rgb(242, 229, 146) |
| HSL | hsl(52, 79%, 76%) |
| HSV | hsv(52, 40%, 95%) |
| CMYK | cmyk(0%, 5.4%, 39.7%, 5.1%) |
| CIE-LAB | lab(90.32, -7.11, 42.04) |
| CIE-LCH | lch(90.32, 42.64, 99.60°) |
| OKLab | oklab(91.41% -0.019 0.1027) |
| OKLCH | oklch(91.41% 0.104 100.5) |
| XYZ | xyz(69.8269, 76.9932, 38.3715) |
| Luminance | 0.7699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 1.41
Dark Cream
#FFF39A
ΔE00 3.04
Buff
#FEF69E
ΔE00 3.71
Light Tan
#FBEEAC
ΔE00 3.82
Sandy
#F1DA7A
ΔE00 4.04
Palegoldenrod
#EEE8AA
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E592 #929FF2
analogous
#F2B592 #F2E592 #CFF292
triadic
#F2E592 #92F2E5 #E592F2
tetradic
#F2E592 #92F2B5 #929FF2 #F292CF
square
#F2E592 #92F2B5 #929FF2 #F292CF
split-complementary
#F2E592 #92CFF2 #B592F2
monochromatic
#E5CB25 #EBD85B #F2E592 #F9F2C9 #FCF8E4
Accessibility & contrast
On white
1.28
#F2E592 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.40
#F2E592 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E592
16.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E592 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E592 | 1.00 | 1.28 | 16.40 | 16.40 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4E08C
Deuteranopia (green-blind)
#F8E695
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e592; /* rgb */ color: rgb(242, 229, 146); /* oklch */ color: oklch(91.4% 0.104 100.5);
Tailwind
colors: {
custom: {
50: '#f8edb3',
500: '#f2e592',
950: '#000000',
},
}SCSS
$custom: #f2e592; $custom-light: #f8edb3; $custom-dark: #000000;
JSON
{
"hex": "#f2e592",
"rgb": {
"r": 242,
"g": 229,
"b": 146
},
"hsl": {
"h": 51.875,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.91408,
"c": 0.10447,
"h": 100.5
},
"luminance": 0.76991
}Semantic roles & 50–950 ramp
primary
#F2E592
secondary
#5969CF
accent
#27DB0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481