#B99A38#B99A38
#B99A38 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.120 H 91.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B99A38 |
|---|---|
| RGB | rgb(185, 154, 56) |
| HSL | hsl(46, 54%, 47%) |
| HSV | hsv(46, 70%, 73%) |
| CMYK | cmyk(0%, 16.8%, 69.7%, 27.5%) |
| CIE-LAB | lab(64.73, 0.85, 53.56) |
| CIE-LCH | lch(64.73, 53.57, 89.09°) |
| OKLab | oklab(69.64% -0.0024 0.1201) |
| OKLCH | oklch(69.64% 0.12 91.1) |
| XYZ | xyz(32.2787, 33.7129, 8.5477) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 3.45
Ocher
#BF9B0C
ΔE00 3.79
Yellow Brown
#B79400
ΔE00 3.97
Brown Yellow
#B29705
ΔE00 4.16
Baby Shit Brown
#AD900D
ΔE00 4.42
Ocre
#C69C04
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99A38 #3857B9
analogous
#B95938 #B99A38 #98B938
triadic
#B99A38 #38B99A #9A38B9
tetradic
#B99A38 #38B959 #3857B9 #B93898
square
#B99A38 #38B959 #3857B9 #B93898
split-complementary
#B99A38 #3898B9 #5938B9
monochromatic
#5B4C1C #8A732A #B99A38 #CFB45F #DDCA8E
Accessibility & contrast
On white
2.71
#B99A38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#B99A38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99A38
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99A38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99A38 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB982B
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b99a38; /* rgb */ color: rgb(185, 154, 56); /* oklch */ color: oklch(69.6% 0.120 91.1);
Tailwind
colors: {
custom: {
50: '#d2b774',
500: '#b99a38',
950: '#000000',
},
}SCSS
$custom: #b99a38; $custom-light: #d2b774; $custom-dark: #000000;
JSON
{
"hex": "#b99a38",
"rgb": {
"r": 185,
"g": 154,
"b": 56
},
"hsl": {
"h": 45.581,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.69637,
"c": 0.12009,
"h": 91.1
},
"luminance": 0.33711
}Semantic roles & 50–950 ramp
primary
#B99A38
secondary
#8595C8
accent
#6EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B