#F2D953#F2D953
#F2D953 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.152 H 98.6°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D953 |
|---|---|
| RGB | rgb(242, 217, 83) |
| HSL | hsl(51, 86%, 64%) |
| HSV | hsv(51, 66%, 95%) |
| CMYK | cmyk(0%, 10.3%, 65.7%, 5.1%) |
| CIE-LAB | lab(86.57, -6.17, 66.66) |
| CIE-LCH | lch(86.57, 66.94, 95.29°) |
| OKLab | oklab(88.21% -0.0228 0.1504) |
| OKLCH | oklch(88.21% 0.152 98.6) |
| XYZ | xyz(62.9949, 69.1304, 18.2073) |
| Luminance | 0.6913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.94
Sand Yellow
#FCE166
ΔE00 2.34
Light Gold
#FDDC5C
ΔE00 2.44
Yellow Tan
#FFE36E
ΔE00 3.23
Pale Gold
#FDDE6C
ΔE00 3.23
Light Mustard
#F7D560
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D953 #536CF2
analogous
#F28953 #F2D953 #BBF253
triadic
#F2D953 #53F2D9 #D953F2
tetradic
#F2D953 #53F289 #536CF2 #F253BB
square
#F2D953 #53F289 #536CF2 #F253BB
split-complementary
#F2D953 #53BBF2 #8953F2
monochromatic
#BCA10E #EECC1A #F2D953 #F6E68C #FBF2C5
Accessibility & contrast
On white
1.42
#F2D953 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.83
#F2D953 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D953
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D953 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D953 | 1.00 | 1.42 | 14.83 | 14.83 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD442
Deuteranopia (green-blind)
#F4DD5A
Tritanopia (blue-blind)
#FFCABD
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d953; /* rgb */ color: rgb(242, 217, 83); /* oklch */ color: oklch(88.2% 0.152 98.6);
Tailwind
colors: {
custom: {
50: '#fae48a',
500: '#f2d953',
950: '#000000',
},
}SCSS
$custom: #f2d953; $custom-light: #fae48a; $custom-dark: #000000;
JSON
{
"hex": "#f2d953",
"rgb": {
"r": 242,
"g": 217,
"b": 83
},
"hsl": {
"h": 50.566,
"s": 85.946,
"l": 63.725
},
"oklch": {
"l": 0.88213,
"c": 0.15213,
"h": 98.6
},
"luminance": 0.69127
}Semantic roles & 50–950 ramp
primary
#F2D953
secondary
#2E45BB
accent
#26E203
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F