#F2E56F#F2E56F
#F2E56F is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.9% C 0.140 H 103.0°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E56F |
|---|---|
| RGB | rgb(242, 229, 111) |
| HSL | hsl(54, 83%, 69%) |
| HSV | hsv(54, 54%, 95%) |
| CMYK | cmyk(0%, 5.4%, 54.1%, 5.1%) |
| CIE-LAB | lab(89.89, -10.31, 58.23) |
| CIE-LCH | lch(89.89, 59.14, 100.04°) |
| OKLab | oklab(90.93% -0.0315 0.1361) |
| OKLCH | oklch(90.93% 0.14 103) |
| XYZ | xyz(67.5086, 76.0659, 26.1620) |
| Luminance | 0.7606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.12
Dull Yellow
#EEDC5B
ΔE00 2.66
Yellowish
#FAEE66
ΔE00 2.68
Sand Yellow
#FCE166
ΔE00 3.71
Straw
#FCF679
ΔE00 3.80
Yellow Tan
#FFE36E
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E56F #6F7CF2
analogous
#F2A46F #F2E56F #BEF26F
triadic
#F2E56F #6FF2E5 #E56FF2
tetradic
#F2E56F #6FF2A4 #6F7CF2 #F26FBE
square
#F2E56F #6FF2A4 #6F7CF2 #F26FBE
split-complementary
#F2E56F #6FBEF2 #A46FF2
monochromatic
#D4C013 #EDDB37 #F2E56F #F7EFA7 #FCF9DF
Accessibility & contrast
On white
1.30
#F2E56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.21
#F2E56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E56F
16.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E56F | 1.00 | 1.30 | 16.21 | 16.21 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE63
Deuteranopia (green-blind)
#FBE575
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e56f; /* rgb */ color: rgb(242, 229, 111); /* oklch */ color: oklch(90.9% 0.140 103.0);
Tailwind
colors: {
custom: {
50: '#f9ed9c',
500: '#f2e56f',
950: '#000000',
},
}SCSS
$custom: #f2e56f; $custom-light: #f9ed9c; $custom-dark: #000000;
JSON
{
"hex": "#f2e56f",
"rgb": {
"r": 242,
"g": 229,
"b": 111
},
"hsl": {
"h": 54.046,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.90929,
"c": 0.13968,
"h": 103
},
"luminance": 0.76064
}Semantic roles & 50–950 ramp
primary
#F2E56F
secondary
#3A48CB
accent
#1BE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F