#D4B34E#D4B34E
#D4B34E is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.125 H 91.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #D4B34E |
|---|---|
| RGB | rgb(212, 179, 78) |
| HSL | hsl(45, 61%, 57%) |
| HSV | hsv(45, 63%, 83%) |
| CMYK | cmyk(0%, 15.6%, 63.2%, 16.9%) |
| CIE-LAB | lab(74.06, 0.51, 54.60) |
| CIE-LCH | lch(74.06, 54.60, 89.46°) |
| OKLab | oklab(77.66% -0.0023 0.1249) |
| OKLCH | oklch(77.66% 0.125 91.1) |
| XYZ | xyz(44.6488, 46.7898, 13.8858) |
| Luminance | 0.4679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.80
Desert
#CCAD60
ΔE00 3.95
Burnt Yellow
#D5AB09
ΔE00 5.30
Gold (survey)
#DBB40C
ΔE00 5.36
Tan (survey)
#D1B26F
ΔE00 5.54
Dark Yellow
#D5B60A
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4B34E #4E6FD4
analogous
#D4704E #D4B34E #B2D44E
triadic
#D4B34E #4ED4B3 #B34ED4
tetradic
#D4B34E #4ED470 #4E6FD4 #D44EB2
square
#D4B34E #4ED470 #4E6FD4 #D44EB2
split-complementary
#D4B34E #4EB2D4 #704ED4
monochromatic
#876E21 #B8962D #D4B34E #E0C87F #ECDDB0
Accessibility & contrast
On white
2.03
#D4B34E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#D4B34E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4B34E
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4B34E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4B34E | 1.00 | 2.03 | 10.36 | 10.36 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B143
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#E4A69D
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #d4b34e; /* rgb */ color: rgb(212, 179, 78); /* oklch */ color: oklch(77.7% 0.125 91.1);
Tailwind
colors: {
custom: {
50: '#e5c984',
500: '#d4b34e',
950: '#000000',
},
}SCSS
$custom: #d4b34e; $custom-light: #e5c984; $custom-dark: #000000;
JSON
{
"hex": "#d4b34e",
"rgb": {
"r": 212,
"g": 179,
"b": 78
},
"hsl": {
"h": 45.224,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.77661,
"c": 0.12496,
"h": 91.1
},
"luminance": 0.46787
}Semantic roles & 50–950 ramp
primary
#D4B34E
secondary
#A4B1DA
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C