#DDC158#DDC158
#DDC158 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.128 H 94.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #DDC158 |
|---|---|
| RGB | rgb(221, 193, 88) |
| HSL | hsl(47, 66%, 61%) |
| HSV | hsv(47, 60%, 87%) |
| CMYK | cmyk(0%, 12.7%, 60.2%, 13.3%) |
| CIE-LAB | lab(78.59, -2.34, 55.33) |
| CIE-LCH | lch(78.59, 55.38, 92.42°) |
| OKLab | oklab(81.47% -0.0099 0.1276) |
| OKLCH | oklch(81.47% 0.128 94.5) |
| XYZ | xyz(50.6524, 54.2191, 17.0279) |
| Luminance | 0.5422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.91
Maize
#F4D054
ΔE00 4.81
Mustard
#DBB42C
ΔE00 5.08
Light Mustard
#F7D560
ΔE00 5.36
Dark Yellow
#D5B60A
ΔE00 5.86
Sandy
#F1DA7A
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDC158 #5874DD
analogous
#DD7E58 #DDC158 #B7DD58
triadic
#DDC158 #58DDC1 #C158DD
tetradic
#DDC158 #58DD7E #5874DD #DD58B7
square
#DDC158 #58DD7E #5874DD #DD58B7
split-complementary
#DDC158 #58B7DD #7E58DD
monochromatic
#9B8120 #CEAB2A #DDC158 #E7D48B #F2E7BE
Accessibility & contrast
On white
1.77
#DDC158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#DDC158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDC158
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDC158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDC158 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#EDB4AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #ddc158; /* rgb */ color: rgb(221, 193, 88); /* oklch */ color: oklch(81.5% 0.128 94.5);
Tailwind
colors: {
custom: {
50: '#ebd38b',
500: '#ddc158',
950: '#000000',
},
}SCSS
$custom: #ddc158; $custom-light: #ebd38b; $custom-dark: #000000;
JSON
{
"hex": "#ddc158",
"rgb": {
"r": 221,
"g": 193,
"b": 88
},
"hsl": {
"h": 47.368,
"s": 66.169,
"l": 60.588
},
"oklch": {
"l": 0.81468,
"c": 0.12802,
"h": 94.5
},
"luminance": 0.54217
}Semantic roles & 50–950 ramp
primary
#DDC158
secondary
#3A4F9F
accent
#3ECE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F