#F2D560#F2D560
#F2D560 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.139 H 95.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D560 |
|---|---|
| RGB | rgb(242, 213, 96) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 60%, 95%) |
| CMYK | cmyk(0%, 12%, 60.3%, 5.1%) |
| CIE-LAB | lab(85.66, -3.34, 60.16) |
| CIE-LCH | lch(85.66, 60.25, 93.18°) |
| OKLab | oklab(87.53% -0.0132 0.1385) |
| OKLCH | oklch(87.53% 0.139 95.4) |
| XYZ | xyz(62.5262, 67.3133, 20.7634) |
| Luminance | 0.6731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.36
Maize
#F4D054
ΔE00 2.16
Pale Gold
#FDDE6C
ΔE00 2.24
Light Gold
#FDDC5C
ΔE00 2.26
Sand Yellow
#FCE166
ΔE00 2.75
Yellow Tan
#FFE36E
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D560 #607DF2
analogous
#F28C60 #F2D560 #C6F260
triadic
#F2D560 #60F2D5 #D560F2
tetradic
#F2D560 #60F28C #607DF2 #F260C6
square
#F2D560 #60F28C #607DF2 #F260C6
split-complementary
#F2D560 #60C6F2 #8C60F2
monochromatic
#C7A310 #EDC627 #F2D560 #F7E499 #FBF3D1
Accessibility & contrast
On white
1.45
#F2D560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#F2D560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D560
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D560 | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d560; /* rgb */ color: rgb(242, 213, 96); /* oklch */ color: oklch(87.5% 0.139 95.4);
Tailwind
colors: {
custom: {
50: '#f9e191',
500: '#f2d560',
950: '#000000',
},
}SCSS
$custom: #f2d560; $custom-light: #f9e191; $custom-dark: #000000;
JSON
{
"hex": "#f2d560",
"rgb": {
"r": 242,
"g": 213,
"b": 96
},
"hsl": {
"h": 48.082,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.87531,
"c": 0.13911,
"h": 95.4
},
"luminance": 0.6731
}Semantic roles & 50–950 ramp
primary
#F2D560
secondary
#324FC4
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F