#F2ED6F#F2ED6F
#F2ED6F is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.148 H 106.9°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F2ED6F |
|---|---|
| RGB | rgb(242, 237, 111) |
| HSL | hsl(58, 83%, 69%) |
| HSV | hsv(58, 54%, 95%) |
| CMYK | cmyk(0%, 2.1%, 54.1%, 5.1%) |
| CIE-LAB | lab(91.95, -14.26, 60.60) |
| CIE-LCH | lch(91.95, 62.26, 103.24°) |
| OKLab | oklab(92.57% -0.0428 0.1412) |
| OKLCH | oklch(92.57% 0.148 106.9) |
| XYZ | xyz(69.7734, 80.5953, 26.9169) |
| Luminance | 0.8059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.95
Yellowish
#FAEE66
ΔE00 2.17
Sandy Yellow
#FDEE73
ΔE00 2.54
Manilla
#FFFA86
ΔE00 3.08
Yellowish Tan
#FCFC81
ΔE00 3.26
Custard
#FFFD78
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2ED6F #6F74F2
analogous
#F2AC6F #F2ED6F #B6F26F
triadic
#F2ED6F #6FF2ED #ED6FF2
tetradic
#F2ED6F #6FF2AC #6F74F2 #F26FB6
square
#F2ED6F #6FF2AC #6F74F2 #F26FB6
split-complementary
#F2ED6F #6FB6F2 #AC6FF2
monochromatic
#D4CC13 #EDE637 #F2ED6F #F7F4A7 #FCFBDF
Accessibility & contrast
On white
1.23
#F2ED6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.12
#F2ED6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2ED6F
17.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2ED6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2ED6F | 1.00 | 1.23 | 17.12 | 17.12 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE562
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #f2ed6f; /* rgb */ color: rgb(242, 237, 111); /* oklch */ color: oklch(92.6% 0.148 106.9);
Tailwind
colors: {
custom: {
50: '#f9f29c',
500: '#f2ed6f',
950: '#000000',
},
}SCSS
$custom: #f2ed6f; $custom-light: #f9f29c; $custom-dark: #000000;
JSON
{
"hex": "#f2ed6f",
"rgb": {
"r": 242,
"g": 237,
"b": 111
},
"hsl": {
"h": 57.71,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.92568,
"c": 0.14753,
"h": 106.9
},
"luminance": 0.80593
}Semantic roles & 50–950 ramp
primary
#F2ED6F
secondary
#3A3FCB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F