#F2D561#F2D561
#F2D561 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.138 H 95.3°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D561 |
|---|---|
| RGB | rgb(242, 213, 97) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 60%, 95%) |
| CMYK | cmyk(0%, 12%, 59.9%, 5.1%) |
| CIE-LAB | lab(85.67, -3.28, 59.73) |
| CIE-LCH | lch(85.67, 59.82, 93.14°) |
| OKLab | oklab(87.54% -0.0129 0.1377) |
| OKLCH | oklch(87.54% 0.138 95.3) |
| XYZ | xyz(62.5725, 67.3318, 21.0074) |
| Luminance | 0.6733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.35
Maize
#F4D054
ΔE00 2.19
Pale Gold
#FDDE6C
ΔE00 2.21
Light Gold
#FDDC5C
ΔE00 2.31
Sand Yellow
#FCE166
ΔE00 2.78
Yellow Tan
#FFE36E
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D561 #617EF2
analogous
#F28D61 #F2D561 #C7F261
triadic
#F2D561 #61F2D5 #D561F2
tetradic
#F2D561 #61F28D #617EF2 #F261C7
square
#F2D561 #61F28D #617EF2 #F261C7
split-complementary
#F2D561 #61C7F2 #8D61F2
monochromatic
#C8A310 #EDC628 #F2D561 #F7E49A #FBF3D2
Accessibility & contrast
On white
1.45
#F2D561 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.47
#F2D561 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D561
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D561 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D561 | 1.00 | 1.45 | 14.47 | 14.47 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D155
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d561; /* rgb */ color: rgb(242, 213, 97); /* oklch */ color: oklch(87.5% 0.138 95.3);
Tailwind
colors: {
custom: {
50: '#f9e192',
500: '#f2d561',
950: '#000000',
},
}SCSS
$custom: #f2d561; $custom-light: #f9e192; $custom-dark: #000000;
JSON
{
"hex": "#f2d561",
"rgb": {
"r": 242,
"g": 213,
"b": 97
},
"hsl": {
"h": 48,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.87541,
"c": 0.13828,
"h": 95.3
},
"luminance": 0.67329
}Semantic roles & 50–950 ramp
primary
#F2D561
secondary
#3250C5
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F