#F2F56E#F2F56E
#F2F56E is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.2% C 0.157 H 110.2°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F56E |
|---|---|
| RGB | rgb(242, 245, 110) |
| HSL | hsl(61, 87%, 70%) |
| HSV | hsv(61, 55%, 96%) |
| CMYK | cmyk(1.2%, 0%, 55.1%, 3.9%) |
| CIE-LAB | lab(94.02, -18.23, 63.39) |
| CIE-LCH | lch(94.02, 65.96, 106.05°) |
| OKLab | oklab(94.21% -0.0542 0.147) |
| OKLCH | oklch(94.21% 0.157 110.2) |
| XYZ | xyz(72.0867, 85.3096, 27.4179) |
| Luminance | 0.8531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Custard
#FFFD78
ΔE00 2.15
Butter Yellow
#FFFD74
ΔE00 2.16
Yellowish Tan
#FCFC81
ΔE00 2.20
Light Yellow
#FFFE7A
ΔE00 2.21
Pastel Yellow
#FFFE71
ΔE00 2.28
Straw
#FCF679
ΔE00 2.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F56E #716EF5
analogous
#F5B46E #F2F56E #AFF56E
triadic
#F2F56E #6EF2F5 #F56EF2
tetradic
#F2F56E #6EF5B4 #716EF5 #F56EAF
square
#F2F56E #6EF5B4 #716EF5 #F56EAF
split-complementary
#F2F56E #6EAFF5 #B46EF5
monochromatic
#D5DA0F #EDF135 #F2F56E #F7F9A7 #FCFDE1
Accessibility & contrast
On white
1.16
#F2F56E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#F2F56E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F56E
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F56E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F56E | 1.00 | 1.16 | 18.06 | 18.06 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC60
Deuteranopia (green-blind)
#FFF076
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f56e; /* rgb */ color: rgb(242, 245, 110); /* oklch */ color: oklch(94.2% 0.157 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89c',
500: '#f2f56e',
950: '#000000',
},
}SCSS
$custom: #f2f56e; $custom-light: #f9f89c; $custom-dark: #000000;
JSON
{
"hex": "#f2f56e",
"rgb": {
"r": 242,
"g": 245,
"b": 110
},
"hsl": {
"h": 61.333,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.9421,
"c": 0.15672,
"h": 110.2
},
"luminance": 0.85308
}Semantic roles & 50–950 ramp
primary
#F2F56E
secondary
#3C38CF
accent
#02E407
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F