#DCC273#DCC273
#DCC273 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.9% C 0.103 H 91.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC273 |
|---|---|
| RGB | rgb(220, 194, 115) |
| HSL | hsl(45, 60%, 66%) |
| HSV | hsv(45, 48%, 86%) |
| CMYK | cmyk(0%, 11.8%, 47.7%, 13.7%) |
| CIE-LAB | lab(79.06, -1.07, 42.91) |
| CIE-LCH | lch(79.06, 42.93, 91.43°) |
| OKLab | oklab(81.92% -0.0032 0.1032) |
| OKLCH | oklch(81.92% 0.103 91.8) |
| XYZ | xyz(51.9032, 55.0392, 24.1060) |
| Luminance | 0.5504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.15
Tan (survey)
#D1B26F
ΔE00 4.84
Desert
#CCAD60
ΔE00 5.54
Sandy
#F1DA7A
ΔE00 6.18
Sandstone
#C9AE74
ΔE00 6.49
Very Light Brown
#D3B683
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC273 #738DDC
analogous
#DC8D73 #DCC273 #C1DC73
triadic
#DCC273 #73DCC2 #C273DC
tetradic
#DCC273 #73DC8D #738DDC #DC73C1
square
#DCC273 #73DC8D #738DDC #DC73C1
split-complementary
#DCC273 #73C1DC #8D73DC
monochromatic
#AA8A2B #D0AD42 #DCC273 #E8D7A4 #F4EDD5
Accessibility & contrast
On white
1.75
#DCC273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.01
#DCC273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC273
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC273 | 1.00 | 1.75 | 12.01 | 12.01 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BF6D
Deuteranopia (green-blind)
#D8C776
Tritanopia (blue-blind)
#EAB7AF
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dcc273; /* rgb */ color: rgb(220, 194, 115); /* oklch */ color: oklch(81.9% 0.103 91.8);
Tailwind
colors: {
custom: {
50: '#e9d49d',
500: '#dcc273',
950: '#000000',
},
}SCSS
$custom: #dcc273; $custom-light: #e9d49d; $custom-dark: #000000;
JSON
{
"hex": "#dcc273",
"rgb": {
"r": 220,
"g": 194,
"b": 115
},
"hsl": {
"h": 45.143,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.81922,
"c": 0.10322,
"h": 91.8
},
"luminance": 0.55037
}Semantic roles & 50–950 ramp
primary
#DCC273
secondary
#4760AD
accent
#48C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F