#BD9A28#BD9A28
#BD9A28 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.131 H 90.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BD9A28 |
|---|---|
| RGB | rgb(189, 154, 40) |
| HSL | hsl(46, 65%, 45%) |
| HSV | hsv(46, 79%, 74%) |
| CMYK | cmyk(0%, 18.5%, 78.8%, 25.9%) |
| CIE-LAB | lab(65.03, 1.89, 60.16) |
| CIE-LCH | lch(65.03, 60.19, 88.20°) |
| OKLab | oklab(69.93% -0.0014 0.1308) |
| OKLCH | oklch(69.93% 0.131 90.6) |
| XYZ | xyz(32.9268, 34.0853, 6.8519) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 1.94
Dark Gold
#B59410
ΔE00 2.43
Yellow Brown
#B79400
ΔE00 2.61
Ocre
#C69C04
ΔE00 2.87
Brown Yellow
#B29705
ΔE00 3.46
Yellow Ochre
#CB9D06
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD9A28 #284BBD
analogous
#BD4F28 #BD9A28 #96BD28
triadic
#BD9A28 #28BD9A #9A28BD
tetradic
#BD9A28 #28BD4F #284BBD #BD2896
square
#BD9A28 #28BD4F #284BBD #BD2896
split-complementary
#BD9A28 #2896BD #4F28BD
monochromatic
#584813 #8A711D #BD9A28 #D9B74A #E3CB7C
Accessibility & contrast
On white
2.69
#BD9A28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#BD9A28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BD9A28
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD9A28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD9A28 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#CD8C84
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #bd9a28; /* rgb */ color: rgb(189, 154, 40); /* oklch */ color: oklch(69.9% 0.131 90.6);
Tailwind
colors: {
custom: {
50: '#d5b76c',
500: '#bd9a28',
950: '#000000',
},
}SCSS
$custom: #bd9a28; $custom-light: #d5b76c; $custom-dark: #000000;
JSON
{
"hex": "#bd9a28",
"rgb": {
"r": 189,
"g": 154,
"b": 40
},
"hsl": {
"h": 45.906,
"s": 65.066,
"l": 44.902
},
"oklch": {
"l": 0.6993,
"c": 0.13077,
"h": 90.6
},
"luminance": 0.34083
}Semantic roles & 50–950 ramp
primary
#BD9A28
secondary
#758ACB
accent
#67E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A