#DDC062#DDC062
#DDC062 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.118 H 92.5°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #DDC062 |
|---|---|
| RGB | rgb(221, 192, 98) |
| HSL | hsl(46, 64%, 63%) |
| HSV | hsv(46, 56%, 87%) |
| CMYK | cmyk(0%, 13.1%, 55.7%, 13.3%) |
| CIE-LAB | lab(78.44, -1.08, 50.50) |
| CIE-LCH | lch(78.44, 50.51, 91.23°) |
| OKLab | oklab(81.38% -0.0051 0.1184) |
| OKLCH | oklch(81.38% 0.119 92.5) |
| XYZ | xyz(50.8751, 53.9557, 19.2876) |
| Luminance | 0.5395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.09
Desert
#CCAD60
ΔE00 5.61
Maize
#F4D054
ΔE00 5.62
Mustard
#DBB42C
ΔE00 5.82
Tan (survey)
#D1B26F
ΔE00 5.86
Light Mustard
#F7D560
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DDC062 #627FDD
analogous
#DD8362 #DDC062 #BCDD62
triadic
#DDC062 #62DDC0 #C062DD
tetradic
#DDC062 #62DD83 #627FDD #DD62BC
square
#DDC062 #62DD83 #627FDD #DD62BC
split-complementary
#DDC062 #62BCDD #8362DD
monochromatic
#A28423 #D2AC30 #DDC062 #E8D494 #F3E8C7
Accessibility & contrast
On white
1.78
#DDC062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#DDC062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DDC062
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DDC062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DDC062 | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#EDB3AB
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #ddc062; /* rgb */ color: rgb(221, 192, 98); /* oklch */ color: oklch(81.4% 0.118 92.5);
Tailwind
colors: {
custom: {
50: '#ead291',
500: '#ddc062',
950: '#000000',
},
}SCSS
$custom: #ddc062; $custom-light: #ead291; $custom-dark: #000000;
JSON
{
"hex": "#ddc062",
"rgb": {
"r": 221,
"g": 192,
"b": 98
},
"hsl": {
"h": 45.854,
"s": 64.398,
"l": 62.549
},
"oklch": {
"l": 0.81381,
"c": 0.1185,
"h": 92.5
},
"luminance": 0.53953
}Semantic roles & 50–950 ramp
primary
#DDC062
secondary
#3E57A5
accent
#43CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F