#DCC45F#DCC45F
#DCC45F is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.1% C 0.124 H 96.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC45F |
|---|---|
| RGB | rgb(220, 196, 95) |
| HSL | hsl(48, 64%, 62%) |
| HSV | hsv(48, 57%, 86%) |
| CMYK | cmyk(0%, 10.9%, 56.8%, 13.7%) |
| CIE-LAB | lab(79.34, -3.80, 52.94) |
| CIE-LCH | lch(79.34, 53.08, 94.11°) |
| OKLab | oklab(82.07% -0.0133 0.1234) |
| OKLCH | oklch(82.07% 0.124 96.1) |
| XYZ | xyz(51.3227, 55.5240, 18.8381) |
| Luminance | 0.5552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.08
Maize
#F4D054
ΔE00 5.15
Sandy
#F1DA7A
ΔE00 5.31
Light Mustard
#F7D560
ΔE00 5.38
Mustard
#DBB42C
ΔE00 6.37
Dull Yellow
#EEDC5B
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC45F #5F77DC
analogous
#DC865F #DCC45F #B6DC5F
triadic
#DCC45F #5FDCC4 #C45FDC
tetradic
#DCC45F #5FDC86 #5F77DC #DC5FB6
square
#DCC45F #5FDC86 #5F77DC #DC5FB6
split-complementary
#DCC45F #5FB6DC #865FDC
monochromatic
#9E8623 #D0B12E #DCC45F #E7D791 #F2E9C3
Accessibility & contrast
On white
1.73
#DCC45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#DCC45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC45F
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC45F | 1.00 | 1.73 | 12.10 | 12.10 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DBC864
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #dcc45f; /* rgb */ color: rgb(220, 196, 95); /* oklch */ color: oklch(82.1% 0.124 96.1);
Tailwind
colors: {
custom: {
50: '#ead58f',
500: '#dcc45f',
950: '#000000',
},
}SCSS
$custom: #dcc45f; $custom-light: #ead58f; $custom-dark: #000000;
JSON
{
"hex": "#dcc45f",
"rgb": {
"r": 220,
"g": 196,
"b": 95
},
"hsl": {
"h": 48.48,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.82065,
"c": 0.12407,
"h": 96.1
},
"luminance": 0.55522
}Semantic roles & 50–950 ramp
primary
#DCC45F
secondary
#3E51A2
accent
#3CCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F