#B99B2E#B99B2E
#B99B2E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.127 H 92.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B99B2E |
|---|---|
| RGB | rgb(185, 155, 46) |
| HSL | hsl(47, 60%, 45%) |
| HSV | hsv(47, 75%, 73%) |
| CMYK | cmyk(0%, 16.2%, 75.1%, 27.5%) |
| CIE-LAB | lab(64.93, -0.18, 57.76) |
| CIE-LCH | lch(64.93, 57.76, 90.18°) |
| OKLab | oklab(69.77% -0.0065 0.1271) |
| OKLCH | oklch(69.77% 0.127 92.9) |
| XYZ | xyz(32.2239, 33.9561, 7.4412) |
| Luminance | 0.3395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.72
Ocher
#BF9B0C
ΔE00 2.78
Brown Yellow
#B29705
ΔE00 2.98
Yellow Brown
#B79400
ΔE00 3.20
Baby Shit Brown
#AD900D
ΔE00 3.88
Ocre
#C69C04
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99B2E #2E4CB9
analogous
#B9552E #B99B2E #92B92E
triadic
#B99B2E #2EB99B #9B2EB9
tetradic
#B99B2E #2EB955 #2E4CB9 #B92E92
square
#B99B2E #2EB955 #2E4CB9 #B92E92
split-complementary
#B99B2E #2E92B9 #552EB9
monochromatic
#574916 #887222 #B99B2E #D4B751 #E0CB82
Accessibility & contrast
On white
2.70
#B99B2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B99B2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99B2E
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99B2E | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b99b2e; /* rgb */ color: rgb(185, 155, 46); /* oklch */ color: oklch(69.8% 0.127 92.9);
Tailwind
colors: {
custom: {
50: '#d2b86f',
500: '#b99b2e',
950: '#000000',
},
}SCSS
$custom: #b99b2e; $custom-light: #d2b86f; $custom-dark: #000000;
JSON
{
"hex": "#b99b2e",
"rgb": {
"r": 185,
"g": 155,
"b": 46
},
"hsl": {
"h": 47.05,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.69767,
"c": 0.12724,
"h": 92.9
},
"luminance": 0.33954
}Semantic roles & 50–950 ramp
primary
#B99B2E
secondary
#7A8BC9
accent
#67E344
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B