#F2E86B#F2E86B
#F2E86B is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.5% C 0.146 H 104.7°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E86B |
|---|---|
| RGB | rgb(242, 232, 107) |
| HSL | hsl(56, 84%, 68%) |
| HSV | hsv(56, 56%, 95%) |
| CMYK | cmyk(0%, 4.1%, 55.8%, 5.1%) |
| CIE-LAB | lab(90.62, -12.10, 60.86) |
| CIE-LCH | lch(90.62, 62.05, 101.24°) |
| OKLab | oklab(91.5% -0.0371 0.1413) |
| OKLCH | oklch(91.5% 0.146 104.7) |
| XYZ | xyz(68.1306, 77.6543, 25.3070) |
| Luminance | 0.7765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.85
Sandy Yellow
#FDEE73
ΔE00 1.94
Straw
#FCF679
ΔE00 3.00
Dull Yellow
#EEDC5B
ΔE00 3.21
Manilla
#FFFA86
ΔE00 4.10
Sand Yellow
#FCE166
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E86B #6B75F2
analogous
#F2A46B #F2E86B #B8F26B
triadic
#F2E86B #6BF2E8 #E86BF2
tetradic
#F2E86B #6BF2A4 #6B75F2 #F26BB8
square
#F2E86B #6BF2A4 #6B75F2 #F26BB8
split-complementary
#F2E86B #6BB8F2 #A46BF2
monochromatic
#D0C212 #EDDF33 #F2E86B #F7F1A3 #FCF9DC
Accessibility & contrast
On white
1.27
#F2E86B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.53
#F2E86B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E86B
16.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E86B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E86B | 1.00 | 1.27 | 16.53 | 16.53 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE15E
Deuteranopia (green-blind)
#FEE771
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f2e86b; /* rgb */ color: rgb(242, 232, 107); /* oklch */ color: oklch(91.5% 0.146 104.7);
Tailwind
colors: {
custom: {
50: '#f9ef99',
500: '#f2e86b',
950: '#000000',
},
}SCSS
$custom: #f2e86b; $custom-light: #f9ef99; $custom-dark: #000000;
JSON
{
"hex": "#f2e86b",
"rgb": {
"r": 242,
"g": 232,
"b": 107
},
"hsl": {
"h": 55.556,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.91498,
"c": 0.14608,
"h": 104.7
},
"luminance": 0.77652
}Semantic roles & 50–950 ramp
primary
#F2E86B
secondary
#3641CB
accent
#15E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F