#F2F56F#F2F56F
#F2F56F is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.2% C 0.156 H 110.2°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F56F |
|---|---|
| RGB | rgb(242, 245, 111) |
| HSL | hsl(61, 87%, 70%) |
| HSV | hsv(61, 55%, 96%) |
| CMYK | cmyk(1.2%, 0%, 54.7%, 3.9%) |
| CIE-LAB | lab(94.03, -18.16, 62.96) |
| CIE-LCH | lch(94.03, 65.53, 106.09°) |
| OKLab | oklab(94.22% -0.0539 0.1463) |
| OKLCH | oklch(94.22% 0.156 110.2) |
| XYZ | xyz(72.1414, 85.3315, 27.7062) |
| Luminance | 0.8533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.13
Custard
#FFFD78
ΔE00 2.15
Butter Yellow
#FFFD74
ΔE00 2.18
Light Yellow
#FFFE7A
ΔE00 2.19
Straw
#FCF679
ΔE00 2.27
Faded Yellow
#FEFF7F
ΔE00 2.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F56F #726FF5
analogous
#F5B56F #F2F56F #AFF56F
triadic
#F2F56F #6FF2F5 #F56FF2
tetradic
#F2F56F #6FF5B5 #726FF5 #F56FAF
square
#F2F56F #6FF5B5 #726FF5 #F56FAF
split-complementary
#F2F56F #6FAFF5 #B56FF5
monochromatic
#D6DA0F #EDF136 #F2F56F #F7F9A8 #FCFDE1
Accessibility & contrast
On white
1.16
#F2F56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#F2F56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F56F
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F56F | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF076
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f56f; /* rgb */ color: rgb(242, 245, 111); /* oklch */ color: oklch(94.2% 0.156 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89c',
500: '#f2f56f',
950: '#000000',
},
}SCSS
$custom: #f2f56f; $custom-light: #f9f89c; $custom-dark: #000000;
JSON
{
"hex": "#f2f56f",
"rgb": {
"r": 242,
"g": 245,
"b": 111
},
"hsl": {
"h": 61.343,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.94221,
"c": 0.15586,
"h": 110.2
},
"luminance": 0.8533
}Semantic roles & 50–950 ramp
primary
#F2F56F
secondary
#3D39CF
accent
#02E407
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580