#DDC258#DDC258
#DDC258 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.129 H 95.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DDC258 |
|---|---|
| RGB | rgb(221, 194, 88) |
| HSL | hsl(48, 66%, 61%) |
| HSV | hsv(48, 60%, 87%) |
| CMYK | cmyk(0%, 12.2%, 60.2%, 13.3%) |
| CIE-LAB | lab(78.85, -2.86, 55.62) |
| CIE-LCH | lch(78.85, 55.69, 92.94°) |
| OKLab | oklab(81.67% -0.0114 0.1283) |
| OKLCH | oklch(81.67% 0.129 95.1) |
| XYZ | xyz(50.8742, 54.6628, 17.1019) |
| Luminance | 0.5466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.86
Maize
#F4D054
ΔE00 4.71
Light Mustard
#F7D560
ΔE00 5.22
Mustard
#DBB42C
ΔE00 5.30
Dark Yellow
#D5B60A
ΔE00 5.90
Sandy
#F1DA7A
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDC258 #5873DD
analogous
#DD8058 #DDC258 #B5DD58
triadic
#DDC258 #58DDC2 #C258DD
tetradic
#DDC258 #58DD80 #5873DD #DD58B5
square
#DDC258 #58DD80 #5873DD #DD58B5
split-complementary
#DDC258 #58B5DD #8058DD
monochromatic
#9B8220 #CEAD2A #DDC258 #E7D58B #F2E7BE
Accessibility & contrast
On white
1.76
#DDC258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#DDC258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDC258
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDC258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDC258 | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#EDB5AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #ddc258; /* rgb */ color: rgb(221, 194, 88); /* oklch */ color: oklch(81.7% 0.129 95.1);
Tailwind
colors: {
custom: {
50: '#ebd48b',
500: '#ddc258',
950: '#000000',
},
}SCSS
$custom: #ddc258; $custom-light: #ebd48b; $custom-dark: #000000;
JSON
{
"hex": "#ddc258",
"rgb": {
"r": 221,
"g": 194,
"b": 88
},
"hsl": {
"h": 47.82,
"s": 66.169,
"l": 60.588
},
"oklch": {
"l": 0.81672,
"c": 0.12876,
"h": 95.1
},
"luminance": 0.5466
}Semantic roles & 50–950 ramp
primary
#DDC258
secondary
#3A4F9F
accent
#3DCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F