#F2E76A#F2E76A
#F2E76A is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.146 H 104.3°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E76A |
|---|---|
| RGB | rgb(242, 231, 106) |
| HSL | hsl(55, 84%, 68%) |
| HSV | hsv(55, 56%, 95%) |
| CMYK | cmyk(0%, 4.5%, 56.2%, 5.1%) |
| CIE-LAB | lab(90.35, -11.68, 61.00) |
| CIE-LCH | lch(90.35, 62.11, 100.84°) |
| OKLab | oklab(91.28% -0.036 0.1415) |
| OKLCH | oklch(91.28% 0.146 104.3) |
| XYZ | xyz(67.7976, 77.0720, 24.9380) |
| Luminance | 0.7707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.91
Sandy Yellow
#FDEE73
ΔE00 1.95
Dull Yellow
#EEDC5B
ΔE00 2.91
Straw
#FCF679
ΔE00 3.26
Sand Yellow
#FCE166
ΔE00 4.20
Manilla
#FFFA86
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E76A #6A75F2
analogous
#F2A36A #F2E76A #B9F26A
triadic
#F2E76A #6AF2E7 #E76AF2
tetradic
#F2E76A #6AF2A3 #6A75F2 #F26AB9
square
#F2E76A #6AF2A3 #6A75F2 #F26AB9
split-complementary
#F2E76A #6AB9F2 #A36AF2
monochromatic
#CFC012 #EDDE32 #F2E76A #F7F0A2 #FCF9DB
Accessibility & contrast
On white
1.28
#F2E76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.41
#F2E76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E76A
16.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E76A | 1.00 | 1.28 | 16.41 | 16.41 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e76a; /* rgb */ color: rgb(242, 231, 106); /* oklch */ color: oklch(91.3% 0.146 104.3);
Tailwind
colors: {
custom: {
50: '#f9ee98',
500: '#f2e76a',
950: '#000000',
},
}SCSS
$custom: #f2e76a; $custom-light: #f9ee98; $custom-dark: #000000;
JSON
{
"hex": "#f2e76a",
"rgb": {
"r": 242,
"g": 231,
"b": 106
},
"hsl": {
"h": 55.147,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.91282,
"c": 0.14599,
"h": 104.3
},
"luminance": 0.7707
}Semantic roles & 50–950 ramp
primary
#F2E76A
secondary
#3642CB
accent
#17E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F