#B99F31#B99F31
#B99F31 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.128 H 95.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B99F31 |
|---|---|
| RGB | rgb(185, 159, 49) |
| HSL | hsl(49, 58%, 46%) |
| HSV | hsv(49, 74%, 73%) |
| CMYK | cmyk(0%, 14.1%, 73.5%, 27.5%) |
| CIE-LAB | lab(66.01, -2.20, 57.66) |
| CIE-LCH | lch(66.01, 57.71, 92.18°) |
| OKLab | oklab(70.63% -0.0119 0.1275) |
| OKLCH | oklch(70.63% 0.128 95.3) |
| XYZ | xyz(32.9618, 35.3341, 7.9891) |
| Luminance | 0.3533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.33
Ocher
#BF9B0C
ΔE00 3.56
Dark Gold
#B59410
ΔE00 3.92
Yellow Brown
#B79400
ΔE00 4.38
Baby Shit Brown
#AD900D
ΔE00 4.84
Ocre
#C69C04
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99F31 #314BB9
analogous
#B95B31 #B99F31 #8FB931
triadic
#B99F31 #31B99F #9F31B9
tetradic
#B99F31 #31B95B #314BB9 #B9318F
square
#B99F31 #31B95B #314BB9 #B9318F
split-complementary
#B99F31 #318FB9 #5B31B9
monochromatic
#584C17 #897524 #B99F31 #D2BA55 #DFCE86
Accessibility & contrast
On white
2.60
#B99F31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#B99F31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99F31
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99F31 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#C89289
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b99f31; /* rgb */ color: rgb(185, 159, 49); /* oklch */ color: oklch(70.6% 0.128 95.3);
Tailwind
colors: {
custom: {
50: '#d2bb71',
500: '#b99f31',
950: '#000000',
},
}SCSS
$custom: #b99f31; $custom-light: #d2bb71; $custom-dark: #000000;
JSON
{
"hex": "#b99f31",
"rgb": {
"r": 185,
"g": 159,
"b": 49
},
"hsl": {
"h": 48.529,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.70627,
"c": 0.12801,
"h": 95.3
},
"luminance": 0.35332
}Semantic roles & 50–950 ramp
primary
#B99F31
secondary
#7D8CC8
accent
#64E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B