#F2E67A#F2E67A
#F2E67A is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.130 H 103.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E67A |
|---|---|
| RGB | rgb(242, 230, 122) |
| HSL | hsl(54, 82%, 71%) |
| HSV | hsv(54, 50%, 95%) |
| CMYK | cmyk(0%, 5%, 49.6%, 5.1%) |
| CIE-LAB | lab(90.27, -9.91, 53.59) |
| CIE-LCH | lch(90.27, 54.50, 100.48°) |
| OKLab | oklab(91.27% -0.0292 0.127) |
| OKLCH | oklch(91.27% 0.13 103) |
| XYZ | xyz(68.4295, 76.8782, 29.6430) |
| Luminance | 0.7688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.65
Khaki (CSS)
#F0E68C
ΔE00 2.69
Yellowish
#FAEE66
ΔE00 3.63
Dull Yellow
#EEDC5B
ΔE00 3.74
Straw
#FCF679
ΔE00 3.91
Sandy
#F1DA7A
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E67A #7A86F2
analogous
#F2AA7A #F2E67A #C2F27A
triadic
#F2E67A #7AF2E6 #E67AF2
tetradic
#F2E67A #7AF2AA #7A86F2 #F27AC2
square
#F2E67A #7AF2AA #7A86F2 #F27AC2
split-complementary
#F2E67A #7AC2F2 #AA7AF2
monochromatic
#DCC816 #EDDC42 #F2E67A #F7F0B2 #FCFAE3
Accessibility & contrast
On white
1.28
#F2E67A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.38
#F2E67A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E67A
16.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E67A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E67A | 1.00 | 1.28 | 16.38 | 16.38 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e67a; /* rgb */ color: rgb(242, 230, 122); /* oklch */ color: oklch(91.3% 0.130 103.0);
Tailwind
colors: {
custom: {
50: '#f8eda3',
500: '#f2e67a',
950: '#000000',
},
}SCSS
$custom: #f2e67a; $custom-light: #f8eda3; $custom-dark: #000000;
JSON
{
"hex": "#f2e67a",
"rgb": {
"r": 242,
"g": 230,
"b": 122
},
"hsl": {
"h": 54,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.91265,
"c": 0.13034,
"h": 103
},
"luminance": 0.76876
}Semantic roles & 50–950 ramp
primary
#F2E67A
secondary
#4451CD
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480