#B9A429#B9A429
#B9A429 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.136 H 99.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A429 |
|---|---|
| RGB | rgb(185, 164, 41) |
| HSL | hsl(51, 64%, 44%) |
| HSV | hsv(51, 78%, 73%) |
| CMYK | cmyk(0%, 11.4%, 77.8%, 27.5%) |
| CIE-LAB | lab(67.30, -5.20, 61.74) |
| CIE-LCH | lch(67.30, 61.96, 94.82°) |
| OKLab | oklab(71.63% -0.0213 0.1346) |
| OKLCH | oklch(71.63% 0.136 99) |
| XYZ | xyz(33.6850, 37.0270, 7.4700) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.35
Brown Yellow
#B29705
ΔE00 4.18
Brownish Yellow
#C9B003
ΔE00 4.66
Ocher
#BF9B0C
ΔE00 4.78
Dark Gold
#B59410
ΔE00 5.54
Mustard (survey)
#CEB301
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A429 #293EB9
analogous
#B95C29 #B9A429 #86B929
triadic
#B9A429 #29B9A4 #A429B9
tetradic
#B9A429 #29B95C #293EB9 #B92986
square
#B9A429 #29B95C #293EB9 #B92986
split-complementary
#B9A429 #2986B9 #5C29B9
monochromatic
#554B13 #87781E #B9A429 #D7C249 #E2D37B
Accessibility & contrast
On white
2.50
#B9A429 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#B9A429 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A429
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A429 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A429 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#C8978D
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b9a429; /* rgb */ color: rgb(185, 164, 41); /* oklch */ color: oklch(71.6% 0.136 99.0);
Tailwind
colors: {
custom: {
50: '#d2be6d',
500: '#b9a429',
950: '#000000',
},
}SCSS
$custom: #b9a429; $custom-light: #d2be6d; $custom-dark: #000000;
JSON
{
"hex": "#b9a429",
"rgb": {
"r": 185,
"g": 164,
"b": 41
},
"hsl": {
"h": 51.25,
"s": 63.717,
"l": 44.314
},
"oklch": {
"l": 0.71633,
"c": 0.13623,
"h": 99
},
"luminance": 0.37025
}Semantic roles & 50–950 ramp
primary
#B9A429
secondary
#7481CA
accent
#59E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B