#B99A2D#B99A2D
#B99A2D is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.6% C 0.127 H 92.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B99A2D |
|---|---|
| RGB | rgb(185, 154, 45) |
| HSL | hsl(47, 61%, 45%) |
| HSV | hsv(47, 76%, 73%) |
| CMYK | cmyk(0%, 16.8%, 75.7%, 27.5%) |
| CIE-LAB | lab(64.66, 0.31, 57.88) |
| CIE-LCH | lch(64.66, 57.88, 89.69°) |
| OKLab | oklab(69.55% -0.0052 0.1271) |
| OKLCH | oklch(69.55% 0.127 92.3) |
| XYZ | xyz(32.0386, 33.6169, 7.2833) |
| Luminance | 0.3362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.47
Ocher
#BF9B0C
ΔE00 2.68
Yellow Brown
#B79400
ΔE00 2.96
Brown Yellow
#B29705
ΔE00 3.00
Baby Shit Brown
#AD900D
ΔE00 3.70
Ocre
#C69C04
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99A2D #2D4CB9
analogous
#B9542D #B99A2D #92B92D
triadic
#B99A2D #2DB99A #9A2DB9
tetradic
#B99A2D #2DB954 #2D4CB9 #B92D92
square
#B99A2D #2DB954 #2D4CB9 #B92D92
split-complementary
#B99A2D #2D92B9 #542DB9
monochromatic
#574815 #887121 #B99A2D #D4B74F #E0CB80
Accessibility & contrast
On white
2.72
#B99A2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#B99A2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99A2D
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99A2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99A2D | 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)
#AB981A
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b99a2d; /* rgb */ color: rgb(185, 154, 45); /* oklch */ color: oklch(69.6% 0.127 92.3);
Tailwind
colors: {
custom: {
50: '#d2b76e',
500: '#b99a2d',
950: '#000000',
},
}SCSS
$custom: #b99a2d; $custom-light: #d2b76e; $custom-dark: #000000;
JSON
{
"hex": "#b99a2d",
"rgb": {
"r": 185,
"g": 154,
"b": 45
},
"hsl": {
"h": 46.714,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.69552,
"c": 0.12723,
"h": 92.3
},
"luminance": 0.33615
}Semantic roles & 50–950 ramp
primary
#B99A2D
secondary
#798BC9
accent
#67E444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B