#B99B38#B99B38
#B99B38 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.121 H 91.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B99B38 |
|---|---|
| RGB | rgb(185, 155, 56) |
| HSL | hsl(46, 54%, 47%) |
| HSV | hsv(46, 70%, 73%) |
| CMYK | cmyk(0%, 16.2%, 69.7%, 27.5%) |
| CIE-LAB | lab(65.00, 0.31, 53.83) |
| CIE-LCH | lch(65.00, 53.83, 89.67°) |
| OKLab | oklab(69.85% -0.0039 0.1207) |
| OKLCH | oklch(69.85% 0.121 91.9) |
| XYZ | xyz(32.4444, 34.0444, 8.6029) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 3.52
Ocher
#BF9B0C
ΔE00 3.74
Brown Yellow
#B29705
ΔE00 4.01
Yellow Brown
#B79400
ΔE00 4.05
Baby Shit Brown
#AD900D
ΔE00 4.49
Ocre
#C69C04
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99B38 #3856B9
analogous
#B95B38 #B99B38 #96B938
triadic
#B99B38 #38B99B #9B38B9
tetradic
#B99B38 #38B95B #3856B9 #B93896
square
#B99B38 #38B95B #3856B9 #B93896
split-complementary
#B99B38 #3896B9 #5B38B9
monochromatic
#5B4C1C #8A742A #B99B38 #CFB55F #DDCB8E
Accessibility & contrast
On white
2.69
#B99B38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B99B38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99B38
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99B38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99B38 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC992B
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#C88F87
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b99b38; /* rgb */ color: rgb(185, 155, 56); /* oklch */ color: oklch(69.8% 0.121 91.9);
Tailwind
colors: {
custom: {
50: '#d2b874',
500: '#b99b38',
950: '#000000',
},
}SCSS
$custom: #b99b38; $custom-light: #d2b874; $custom-dark: #000000;
JSON
{
"hex": "#b99b38",
"rgb": {
"r": 185,
"g": 155,
"b": 56
},
"hsl": {
"h": 46.047,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.69845,
"c": 0.12071,
"h": 91.9
},
"luminance": 0.34043
}Semantic roles & 50–950 ramp
primary
#B99B38
secondary
#8595C8
accent
#6DDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B