#DDC162#DDC162
#DDC162 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.119 H 93.2°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #DDC162 |
|---|---|
| RGB | rgb(221, 193, 98) |
| HSL | hsl(46, 64%, 63%) |
| HSV | hsv(46, 56%, 87%) |
| CMYK | cmyk(0%, 12.7%, 55.7%, 13.3%) |
| CIE-LAB | lab(78.69, -1.60, 50.80) |
| CIE-LCH | lch(78.69, 50.82, 91.81°) |
| OKLab | oklab(81.58% -0.0066 0.119) |
| OKLCH | oklch(81.58% 0.119 93.2) |
| XYZ | xyz(51.0954, 54.3963, 19.3611) |
| Luminance | 0.5439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.92
Maize
#F4D054
ΔE00 5.46
Light Mustard
#F7D560
ΔE00 5.77
Desert
#CCAD60
ΔE00 5.92
Mustard
#DBB42C
ΔE00 5.94
Sandy
#F1DA7A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDC162 #627EDD
analogous
#DD8362 #DDC162 #BCDD62
triadic
#DDC162 #62DDC1 #C162DD
tetradic
#DDC162 #62DD83 #627EDD #DD62BC
square
#DDC162 #62DD83 #627EDD #DD62BC
split-complementary
#DDC162 #62BCDD #8362DD
monochromatic
#A28523 #D2AD30 #DDC162 #E8D594 #F3E9C7
Accessibility & contrast
On white
1.77
#DDC162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.88
#DDC162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDC162
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDC162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDC162 | 1.00 | 1.77 | 11.88 | 11.88 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EDB4AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #ddc162; /* rgb */ color: rgb(221, 193, 98); /* oklch */ color: oklch(81.6% 0.119 93.2);
Tailwind
colors: {
custom: {
50: '#ead391',
500: '#ddc162',
950: '#000000',
},
}SCSS
$custom: #ddc162; $custom-light: #ead391; $custom-dark: #000000;
JSON
{
"hex": "#ddc162",
"rgb": {
"r": 221,
"g": 193,
"b": 98
},
"hsl": {
"h": 46.341,
"s": 64.398,
"l": 62.549
},
"oklch": {
"l": 0.81583,
"c": 0.11922,
"h": 93.2
},
"luminance": 0.54394
}Semantic roles & 50–950 ramp
primary
#DDC162
secondary
#3E56A5
accent
#42CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F