#F2ED6A#F2ED6A
#F2ED6A is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.5% C 0.152 H 107.0°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F2ED6A |
|---|---|
| RGB | rgb(242, 237, 106) |
| HSL | hsl(58, 84%, 68%) |
| HSV | hsv(58, 56%, 95%) |
| CMYK | cmyk(0%, 2.1%, 56.2%, 5.1%) |
| CIE-LAB | lab(91.90, -14.63, 62.75) |
| CIE-LCH | lch(91.90, 64.43, 103.13°) |
| OKLab | oklab(92.51% -0.0444 0.1452) |
| OKLCH | oklch(92.51% 0.152 107) |
| XYZ | xyz(69.5057, 80.4883, 25.5073) |
| Luminance | 0.8049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.89
Straw
#FCF679
ΔE00 2.10
Sandy Yellow
#FDEE73
ΔE00 2.63
Custard
#FFFD78
ΔE00 3.28
Butter Yellow
#FFFD74
ΔE00 3.29
Manilla
#FFFA86
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2ED6A #6A6FF2
analogous
#F2A96A #F2ED6A #B3F26A
triadic
#F2ED6A #6AF2ED #ED6AF2
tetradic
#F2ED6A #6AF2A9 #6A6FF2 #F26AB3
square
#F2ED6A #6AF2A9 #6A6FF2 #F26AB3
split-complementary
#F2ED6A #6AB3F2 #A96AF2
monochromatic
#CFC912 #EDE632 #F2ED6A #F7F4A2 #FCFBDB
Accessibility & contrast
On white
1.23
#F2ED6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.10
#F2ED6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2ED6A
17.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2ED6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2ED6A | 1.00 | 1.23 | 17.10 | 17.10 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE55C
Deuteranopia (green-blind)
#FFEA71
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #f2ed6a; /* rgb */ color: rgb(242, 237, 106); /* oklch */ color: oklch(92.5% 0.152 107.0);
Tailwind
colors: {
custom: {
50: '#f9f299',
500: '#f2ed6a',
950: '#000000',
},
}SCSS
$custom: #f2ed6a; $custom-light: #f9f299; $custom-dark: #000000;
JSON
{
"hex": "#f2ed6a",
"rgb": {
"r": 242,
"g": 237,
"b": 106
},
"hsl": {
"h": 57.794,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.92514,
"c": 0.15186,
"h": 107
},
"luminance": 0.80486
}Semantic roles & 50–950 ramp
primary
#F2ED6A
secondary
#363BCB
accent
#0DE005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F