#FFD952#FFD952
#FFD952 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.4% C 0.154 H 93.1°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).
Color values
| HEX | #FFD952 |
|---|---|
| RGB | rgb(255, 217, 82) |
| HSL | hsl(47, 100%, 66%) |
| HSV | hsv(47, 68%, 100%) |
| CMYK | cmyk(0%, 14.9%, 67.8%, 0%) |
| CIE-LAB | lab(87.73, -0.83, 68.62) |
| CIE-LCH | lch(87.73, 68.63, 90.69°) |
| OKLab | oklab(89.4% -0.0084 0.154) |
| OKLCH | oklch(89.4% 0.154 93.1) |
| XYZ | xyz(67.5793, 71.4987, 18.2221) |
| Luminance | 0.7149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.49
Light Mustard
#F7D560
ΔE00 2.29
Maize
#F4D054
ΔE00 2.40
Pale Gold
#FDDE6C
ΔE00 2.93
Sand Yellow
#FCE166
ΔE00 3.34
Yellow Tan
#FFE36E
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFD952 #5278FF
analogous
#FF8252 #FFD952 #CEFF52
triadic
#FFD952 #52FFD9 #D952FF
tetradic
#FFD952 #52FF82 #5278FF #FF52CE
square
#FFD952 #52FF82 #5278FF #FF52CE
split-complementary
#FFD952 #52CEFF #8252FF
monochromatic
#D7A700 #FFCC15 #FFD952 #FFE68F #FFF4CC
Accessibility & contrast
On white
1.37
#FFD952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.30
#FFD952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFD952
15.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFD952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFD952 | 1.00 | 1.37 | 15.30 | 15.30 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#F9E159
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #ffd952; /* rgb */ color: rgb(255, 217, 82); /* oklch */ color: oklch(89.4% 0.154 93.1);
Tailwind
colors: {
custom: {
50: '#ffe489',
500: '#ffd952',
950: '#000000',
},
}SCSS
$custom: #ffd952; $custom-light: #ffe489; $custom-dark: #000000;
JSON
{
"hex": "#ffd952",
"rgb": {
"r": 255,
"g": 217,
"b": 82
},
"hsl": {
"h": 46.821,
"s": 100,
"l": 66.078
},
"oklch": {
"l": 0.89401,
"c": 0.15424,
"h": 93.1
},
"luminance": 0.71495
}Semantic roles & 50–950 ramp
primary
#FFD952
secondary
#254AD0
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F