#B9A63E#B9A63E
#B9A63E is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.124 H 98.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A63E |
|---|---|
| RGB | rgb(185, 166, 62) |
| HSL | hsl(51, 50%, 48%) |
| HSV | hsv(51, 66%, 73%) |
| CMYK | cmyk(0%, 10.3%, 66.5%, 27.5%) |
| CIE-LAB | lab(67.97, -5.24, 54.36) |
| CIE-LCH | lch(67.97, 54.62, 95.50°) |
| OKLab | oklab(72.21% -0.0191 0.1228) |
| OKLCH | oklch(72.21% 0.124 98.8) |
| XYZ | xyz(34.5148, 37.9361, 10.0609) |
| Luminance | 0.3794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.79
Brown Yellow
#B29705
ΔE00 5.62
Brownish Yellow
#C9B003
ΔE00 5.90
Ocher
#BF9B0C
ΔE00 6.09
Desert
#CCAD60
ΔE00 6.45
Puke
#A5A502
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A63E #3E51B9
analogous
#B9683E #B9A63E #8EB93E
triadic
#B9A63E #3EB9A6 #A63EB9
tetradic
#B9A63E #3EB968 #3E51B9 #B93E8E
square
#B9A63E #3EB968 #3E51B9 #B93E8E
split-complementary
#B9A63E #3E8EB9 #683EB9
monochromatic
#5D541F #8B7D2F #B9A63E #CCBD68 #DCD196
Accessibility & contrast
On white
2.45
#B9A63E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#B9A63E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A63E
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A63E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A63E | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#C79A90
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b9a63e; /* rgb */ color: rgb(185, 166, 62); /* oklch */ color: oklch(72.2% 0.124 98.8);
Tailwind
colors: {
custom: {
50: '#d1c079',
500: '#b9a63e',
950: '#000000',
},
}SCSS
$custom: #b9a63e; $custom-light: #d1c079; $custom-dark: #000000;
JSON
{
"hex": "#b9a63e",
"rgb": {
"r": 185,
"g": 166,
"b": 62
},
"hsl": {
"h": 50.732,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.72214,
"c": 0.12427,
"h": 98.8
},
"luminance": 0.37935
}Semantic roles & 50–950 ramp
primary
#B9A63E
secondary
#8C95C7
accent
#64D94E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B