#F2D960#F2D960
#F2D960 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.142 H 97.7°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D960 |
|---|---|
| RGB | rgb(242, 217, 96) |
| HSL | hsl(50, 85%, 66%) |
| HSV | hsv(50, 60%, 95%) |
| CMYK | cmyk(0%, 10.3%, 60.3%, 5.1%) |
| CIE-LAB | lab(86.68, -5.37, 61.29) |
| CIE-LCH | lch(86.68, 61.52, 95.01°) |
| OKLab | oklab(88.33% -0.019 0.1409) |
| OKLCH | oklch(88.33% 0.142 97.7) |
| XYZ | xyz(63.5447, 69.3503, 21.1029) |
| Luminance | 0.6935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.93
Dull Yellow
#EEDC5B
ΔE00 2.09
Pale Gold
#FDDE6C
ΔE00 2.35
Light Gold
#FDDC5C
ΔE00 2.35
Yellow Tan
#FFE36E
ΔE00 2.55
Light Mustard
#F7D560
ΔE00 2.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D960 #6079F2
analogous
#F29060 #F2D960 #C2F260
triadic
#F2D960 #60F2D9 #D960F2
tetradic
#F2D960 #60F290 #6079F2 #F260C2
square
#F2D960 #60F290 #6079F2 #F260C2
split-complementary
#F2D960 #60C2F2 #9060F2
monochromatic
#C7A810 #EDCB27 #F2D960 #F7E799 #FBF4D1
Accessibility & contrast
On white
1.41
#F2D960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.87
#F2D960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D960
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D960 | 1.00 | 1.41 | 14.87 | 14.87 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD453
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d960; /* rgb */ color: rgb(242, 217, 96); /* oklch */ color: oklch(88.3% 0.142 97.7);
Tailwind
colors: {
custom: {
50: '#f9e491',
500: '#f2d960',
950: '#000000',
},
}SCSS
$custom: #f2d960; $custom-light: #f9e491; $custom-dark: #000000;
JSON
{
"hex": "#f2d960",
"rgb": {
"r": 242,
"g": 217,
"b": 96
},
"hsl": {
"h": 49.726,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.88334,
"c": 0.14216,
"h": 97.7
},
"luminance": 0.69347
}Semantic roles & 50–950 ramp
primary
#F2D960
secondary
#324BC4
accent
#2AE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F