#BDA02F#BDA02F
#BDA02F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.130 H 94.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BDA02F |
|---|---|
| RGB | rgb(189, 160, 47) |
| HSL | hsl(48, 60%, 46%) |
| HSV | hsv(48, 75%, 74%) |
| CMYK | cmyk(0%, 15.3%, 75.1%, 25.9%) |
| CIE-LAB | lab(66.65, -1.05, 59.17) |
| CIE-LCH | lch(66.65, 59.18, 91.02°) |
| OKLab | oklab(71.22% -0.0091 0.1301) |
| OKLCH | oklch(71.22% 0.13 94) |
| XYZ | xyz(34.0720, 36.1676, 7.8752) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.89
Brown Yellow
#B29705
ΔE00 3.56
Dark Gold
#B59410
ΔE00 3.85
Ocre
#C69C04
ΔE00 4.10
Yellow Brown
#B79400
ΔE00 4.16
Yellow Ochre
#CB9D06
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDA02F #2F4CBD
analogous
#BD592F #BDA02F #93BD2F
triadic
#BDA02F #2FBDA0 #A02FBD
tetradic
#BDA02F #2FBD59 #2F4CBD #BD2F93
square
#BDA02F #2FBD59 #2F4CBD #BD2F93
split-complementary
#BDA02F #2F93BD #592FBD
monochromatic
#5B4D17 #8C7723 #BDA02F #D5BA55 #E1CE86
Accessibility & contrast
On white
2.55
#BDA02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#BDA02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDA02F
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDA02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDA02F | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CC938A
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #bda02f; /* rgb */ color: rgb(189, 160, 47); /* oklch */ color: oklch(71.2% 0.130 94.0);
Tailwind
colors: {
custom: {
50: '#d5bb70',
500: '#bda02f',
950: '#000000',
},
}SCSS
$custom: #bda02f; $custom-light: #d5bb70; $custom-dark: #000000;
JSON
{
"hex": "#bda02f",
"rgb": {
"r": 189,
"g": 160,
"b": 47
},
"hsl": {
"h": 47.746,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.71219,
"c": 0.13041,
"h": 94
},
"luminance": 0.36166
}Semantic roles & 50–950 ramp
primary
#BDA02F
secondary
#7E8DCA
accent
#65E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B