#B99E2D#B99E2D
#B99E2D is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.130 H 95.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B99E2D |
|---|---|
| RGB | rgb(185, 158, 45) |
| HSL | hsl(48, 61%, 45%) |
| HSV | hsv(48, 76%, 73%) |
| CMYK | cmyk(0%, 14.6%, 75.7%, 27.5%) |
| CIE-LAB | lab(65.72, -1.84, 58.88) |
| CIE-LCH | lch(65.72, 58.91, 91.79°) |
| OKLab | oklab(70.39% -0.0113 0.1293) |
| OKLCH | oklch(70.39% 0.13 95) |
| XYZ | xyz(32.7099, 34.9593, 7.5070) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.94
Ocher
#BF9B0C
ΔE00 3.12
Dark Gold
#B59410
ΔE00 3.48
Yellow Brown
#B79400
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 4.47
Ocre
#C69C04
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99E2D #2D48B9
analogous
#B9582D #B99E2D #8EB92D
triadic
#B99E2D #2DB99E #9E2DB9
tetradic
#B99E2D #2DB958 #2D48B9 #B92D8E
square
#B99E2D #2DB958 #2D48B9 #B92D8E
split-complementary
#B99E2D #2D8EB9 #582DB9
monochromatic
#574A15 #887421 #B99E2D #D4BB4F #E0CE80
Accessibility & contrast
On white
2.63
#B99E2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#B99E2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99E2D
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99E2D | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B18
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#C89188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b99e2d; /* rgb */ color: rgb(185, 158, 45); /* oklch */ color: oklch(70.4% 0.130 95.0);
Tailwind
colors: {
custom: {
50: '#d2ba6e',
500: '#b99e2d',
950: '#000000',
},
}SCSS
$custom: #b99e2d; $custom-light: #d2ba6e; $custom-dark: #000000;
JSON
{
"hex": "#b99e2d",
"rgb": {
"r": 185,
"g": 158,
"b": 45
},
"hsl": {
"h": 48.429,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.70389,
"c": 0.12975,
"h": 95
},
"luminance": 0.34957
}Semantic roles & 50–950 ramp
primary
#B99E2D
secondary
#7988C9
accent
#63E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B