#B99A2C#B99A2C
#B99A2C is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.5% C 0.128 H 92.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B99A2C |
|---|---|
| RGB | rgb(185, 154, 44) |
| HSL | hsl(47, 62%, 45%) |
| HSV | hsv(47, 76%, 73%) |
| CMYK | cmyk(0%, 16.8%, 76.2%, 27.5%) |
| CIE-LAB | lab(64.65, 0.27, 58.24) |
| CIE-LCH | lch(64.65, 58.24, 89.73°) |
| OKLab | oklab(69.55% -0.0054 0.1277) |
| OKLCH | oklch(69.55% 0.128 92.4) |
| XYZ | xyz(32.0196, 33.6093, 7.1831) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.40
Ocher
#BF9B0C
ΔE00 2.60
Yellow Brown
#B79400
ΔE00 2.88
Brown Yellow
#B29705
ΔE00 2.91
Baby Shit Brown
#AD900D
ΔE00 3.66
Ocre
#C69C04
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99A2C #2C4BB9
analogous
#B9542C #B99A2C #91B92C
triadic
#B99A2C #2CB99A #9A2CB9
tetradic
#B99A2C #2CB954 #2C4BB9 #B92C91
square
#B99A2C #2CB954 #2C4BB9 #B92C91
split-complementary
#B99A2C #2C91B9 #542CB9
monochromatic
#564814 #887120 #B99A2C #D5B74D #E1CB7F
Accessibility & contrast
On white
2.72
#B99A2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#B99A2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99A2C
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99A2C | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9818
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b99a2c; /* rgb */ color: rgb(185, 154, 44); /* oklch */ color: oklch(69.5% 0.128 92.4);
Tailwind
colors: {
custom: {
50: '#d2b76d',
500: '#b99a2c',
950: '#000000',
},
}SCSS
$custom: #b99a2c; $custom-light: #d2b76d; $custom-dark: #000000;
JSON
{
"hex": "#b99a2c",
"rgb": {
"r": 185,
"g": 154,
"b": 44
},
"hsl": {
"h": 46.809,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.69545,
"c": 0.1278,
"h": 92.4
},
"luminance": 0.33607
}Semantic roles & 50–950 ramp
primary
#B99A2C
secondary
#788AC9
accent
#67E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B