#F2F56A#F2F56A
#F2F56A is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.160 H 110.3°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F56A |
|---|---|
| RGB | rgb(242, 245, 106) |
| HSL | hsl(61, 87%, 69%) |
| HSV | hsv(61, 57%, 96%) |
| CMYK | cmyk(1.2%, 0%, 56.7%, 3.9%) |
| CIE-LAB | lab(93.98, -18.52, 65.07) |
| CIE-LCH | lch(93.98, 67.66, 105.89°) |
| OKLab | oklab(94.17% -0.0554 0.1502) |
| OKLCH | oklch(94.17% 0.16 110.3) |
| XYZ | xyz(71.8738, 85.2244, 26.2967) |
| Luminance | 0.8522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.14
Pastel Yellow
#FFFE71
ΔE00 2.19
Custard
#FFFD78
ΔE00 2.22
Light Yellow
#FFFE7A
ΔE00 2.31
Straw
#FCF679
ΔE00 2.48
Yellowish Tan
#FCFC81
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F56A #6D6AF5
analogous
#F5B36A #F2F56A #ADF56A
triadic
#F2F56A #6AF2F5 #F56AF2
tetradic
#F2F56A #6AF5B3 #6D6AF5 #F56AAD
square
#F2F56A #6AF5B3 #6D6AF5 #F56AAD
split-complementary
#F2F56A #6AADF5 #B36AF5
monochromatic
#D2D60E #EDF131 #F2F56A #F7F9A3 #FCFDDD
Accessibility & contrast
On white
1.16
#F2F56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.04
#F2F56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F56A
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F56A | 1.00 | 1.16 | 18.04 | 18.04 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB5B
Deuteranopia (green-blind)
#FFF072
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f56a; /* rgb */ color: rgb(242, 245, 106); /* oklch */ color: oklch(94.2% 0.160 110.3);
Tailwind
colors: {
custom: {
50: '#f9f899',
500: '#f2f56a',
950: '#000000',
},
}SCSS
$custom: #f2f56a; $custom-light: #f9f899; $custom-dark: #000000;
JSON
{
"hex": "#f2f56a",
"rgb": {
"r": 242,
"g": 245,
"b": 106
},
"hsl": {
"h": 61.295,
"s": 87.421,
"l": 68.824
},
"oklch": {
"l": 0.94169,
"c": 0.16009,
"h": 110.3
},
"luminance": 0.85223
}Semantic roles & 50–950 ramp
primary
#F2F56A
secondary
#3835CE
accent
#02E406
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F