#BDA12F#BDA12F
#BDA12F is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.131 H 94.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BDA12F |
|---|---|
| RGB | rgb(189, 161, 47) |
| HSL | hsl(48, 60%, 46%) |
| HSV | hsv(48, 75%, 74%) |
| CMYK | cmyk(0%, 14.8%, 75.1%, 25.9%) |
| CIE-LAB | lab(66.91, -1.59, 59.42) |
| CIE-LCH | lch(66.91, 59.44, 91.53°) |
| OKLab | oklab(71.43% -0.0106 0.1306) |
| OKLCH | oklch(71.43% 0.131 94.6) |
| XYZ | xyz(34.2461, 36.5157, 7.9332) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.13
Brown Yellow
#B29705
ΔE00 3.66
Dark Gold
#B59410
ΔE00 4.14
Ocre
#C69C04
ΔE00 4.35
Yellow Brown
#B79400
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDA12F #2F4BBD
analogous
#BD5A2F #BDA12F #92BD2F
triadic
#BDA12F #2FBDA1 #A12FBD
tetradic
#BDA12F #2FBD5A #2F4BBD #BD2F92
square
#BDA12F #2FBD5A #2F4BBD #BD2F92
split-complementary
#BDA12F #2F92BD #5A2FBD
monochromatic
#5B4D17 #8C7723 #BDA12F #D5BB55 #E1CF86
Accessibility & contrast
On white
2.53
#BDA12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#BDA12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDA12F
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDA12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDA12F | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CC948B
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #bda12f; /* rgb */ color: rgb(189, 161, 47); /* oklch */ color: oklch(71.4% 0.131 94.6);
Tailwind
colors: {
custom: {
50: '#d5bc70',
500: '#bda12f',
950: '#000000',
},
}SCSS
$custom: #bda12f; $custom-light: #d5bc70; $custom-dark: #000000;
JSON
{
"hex": "#bda12f",
"rgb": {
"r": 189,
"g": 161,
"b": 47
},
"hsl": {
"h": 48.169,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.71428,
"c": 0.13106,
"h": 94.6
},
"luminance": 0.36514
}Semantic roles & 50–950 ramp
primary
#BDA12F
secondary
#7E8DCA
accent
#64E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B