#B99C2D#B99C2D
#B99C2D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.128 H 93.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B99C2D |
|---|---|
| RGB | rgb(185, 156, 45) |
| HSL | hsl(48, 61%, 45%) |
| HSV | hsv(48, 76%, 73%) |
| CMYK | cmyk(0%, 15.7%, 75.7%, 27.5%) |
| CIE-LAB | lab(65.19, -0.76, 58.38) |
| CIE-LCH | lch(65.19, 58.38, 90.75°) |
| OKLab | oklab(69.97% -0.0082 0.1282) |
| OKLCH | oklch(69.97% 0.128 93.7) |
| XYZ | xyz(32.3715, 34.2826, 7.3943) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.78
Brown Yellow
#B29705
ΔE00 2.84
Dark Gold
#B59410
ΔE00 2.90
Yellow Brown
#B79400
ΔE00 3.36
Baby Shit Brown
#AD900D
ΔE00 4.02
Ocre
#C69C04
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99C2D #2D4AB9
analogous
#B9562D #B99C2D #90B92D
triadic
#B99C2D #2DB99C #9C2DB9
tetradic
#B99C2D #2DB956 #2D4AB9 #B92D90
square
#B99C2D #2DB956 #2D4AB9 #B92D90
split-complementary
#B99C2D #2D90B9 #562DB9
monochromatic
#574915 #887221 #B99C2D #D4B94F #E0CC80
Accessibility & contrast
On white
2.67
#B99C2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#B99C2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99C2D
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99C2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99C2D | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9919
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#C88F86
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b99c2d; /* rgb */ color: rgb(185, 156, 45); /* oklch */ color: oklch(70.0% 0.128 93.7);
Tailwind
colors: {
custom: {
50: '#d2b86e',
500: '#b99c2d',
950: '#000000',
},
}SCSS
$custom: #b99c2d; $custom-light: #d2b86e; $custom-dark: #000000;
JSON
{
"hex": "#b99c2d",
"rgb": {
"r": 185,
"g": 156,
"b": 45
},
"hsl": {
"h": 47.571,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.6997,
"c": 0.12846,
"h": 93.7
},
"luminance": 0.34281
}Semantic roles & 50–950 ramp
primary
#B99C2D
secondary
#7989C9
accent
#65E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B