#F2F56D#F2F56D
#F2F56D is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.2% C 0.158 H 110.2°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F56D |
|---|---|
| RGB | rgb(242, 245, 109) |
| HSL | hsl(61, 87%, 69%) |
| HSV | hsv(61, 56%, 96%) |
| CMYK | cmyk(1.2%, 0%, 55.5%, 3.9%) |
| CIE-LAB | lab(94.01, -18.31, 63.81) |
| CIE-LCH | lch(94.01, 66.39, 106.01°) |
| OKLab | oklab(94.2% -0.0545 0.1478) |
| OKLCH | oklch(94.2% 0.158 110.2) |
| XYZ | xyz(72.0325, 85.2879, 27.1327) |
| Luminance | 0.8529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.15
Custard
#FFFD78
ΔE00 2.16
Light Yellow
#FFFE7A
ΔE00 2.23
Pastel Yellow
#FFFE71
ΔE00 2.25
Yellowish Tan
#FCFC81
ΔE00 2.27
Straw
#FCF679
ΔE00 2.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F56D #706DF5
analogous
#F5B46D #F2F56D #AEF56D
triadic
#F2F56D #6DF2F5 #F56DF2
tetradic
#F2F56D #6DF5B4 #706DF5 #F56DAE
square
#F2F56D #6DF5B4 #706DF5 #F56DAE
split-complementary
#F2F56D #6DAEF5 #B46DF5
monochromatic
#D4D90F #EDF134 #F2F56D #F7F9A6 #FCFDE0
Accessibility & contrast
On white
1.16
#F2F56D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#F2F56D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F56D
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F56D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F56D | 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)
#FFEC5F
Deuteranopia (green-blind)
#FFF075
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f56d; /* rgb */ color: rgb(242, 245, 109); /* oklch */ color: oklch(94.2% 0.158 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89b',
500: '#f2f56d',
950: '#000000',
},
}SCSS
$custom: #f2f56d; $custom-light: #f9f89b; $custom-dark: #000000;
JSON
{
"hex": "#f2f56d",
"rgb": {
"r": 242,
"g": 245,
"b": 109
},
"hsl": {
"h": 61.324,
"s": 87.179,
"l": 69.412
},
"oklch": {
"l": 0.942,
"c": 0.15757,
"h": 110.2
},
"luminance": 0.85286
}Semantic roles & 50–950 ramp
primary
#F2F56D
secondary
#3B37CF
accent
#02E407
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F