#F2EB6A#F2EB6A
#F2EB6A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.150 H 106.1°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EB6A |
|---|---|
| RGB | rgb(242, 235, 106) |
| HSL | hsl(57, 84%, 68%) |
| HSV | hsv(57, 56%, 95%) |
| CMYK | cmyk(0%, 2.9%, 56.2%, 5.1%) |
| CIE-LAB | lab(91.39, -13.65, 62.17) |
| CIE-LCH | lch(91.39, 63.65, 102.39°) |
| OKLab | oklab(92.1% -0.0416 0.144) |
| OKLCH | oklch(92.1% 0.15 106.1) |
| XYZ | xyz(68.9299, 79.3367, 25.3154) |
| Luminance | 0.7933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.69
Sandy Yellow
#FDEE73
ΔE00 2.27
Straw
#FCF679
ΔE00 2.39
Manilla
#FFFA86
ΔE00 3.63
Custard
#FFFD78
ΔE00 3.75
Butter Yellow
#FFFD74
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EB6A #6A71F2
analogous
#F2A76A #F2EB6A #B5F26A
triadic
#F2EB6A #6AF2EB #EB6AF2
tetradic
#F2EB6A #6AF2A7 #6A71F2 #F26AB5
square
#F2EB6A #6AF2A7 #6A71F2 #F26AB5
split-complementary
#F2EB6A #6AB5F2 #A76AF2
monochromatic
#CFC612 #EDE332 #F2EB6A #F7F3A2 #FCFADB
Accessibility & contrast
On white
1.25
#F2EB6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.87
#F2EB6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EB6A
16.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EB6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EB6A | 1.00 | 1.25 | 16.87 | 16.87 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE35C
Deuteranopia (green-blind)
#FFE971
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #f2eb6a; /* rgb */ color: rgb(242, 235, 106); /* oklch */ color: oklch(92.1% 0.150 106.1);
Tailwind
colors: {
custom: {
50: '#f9f199',
500: '#f2eb6a',
950: '#000000',
},
}SCSS
$custom: #f2eb6a; $custom-light: #f9f199; $custom-dark: #000000;
JSON
{
"hex": "#f2eb6a",
"rgb": {
"r": 242,
"g": 235,
"b": 106
},
"hsl": {
"h": 56.912,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.92103,
"c": 0.14987,
"h": 106.1
},
"luminance": 0.79335
}Semantic roles & 50–950 ramp
primary
#F2EB6A
secondary
#363DCB
accent
#10E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F