#B99D2D#B99D2D
#B99D2D is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.129 H 94.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B99D2D |
|---|---|
| RGB | rgb(185, 157, 45) |
| HSL | hsl(48, 61%, 45%) |
| HSV | hsv(48, 76%, 73%) |
| CMYK | cmyk(0%, 15.1%, 75.7%, 27.5%) |
| CIE-LAB | lab(65.45, -1.30, 58.63) |
| CIE-LCH | lch(65.45, 58.64, 91.27°) |
| OKLab | oklab(70.18% -0.0098 0.1287) |
| OKLCH | oklch(70.18% 0.129 94.3) |
| XYZ | xyz(32.5400, 34.6196, 7.4504) |
| Luminance | 0.3462 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.86
Ocher
#BF9B0C
ΔE00 2.93
Dark Gold
#B59410
ΔE00 3.17
Yellow Brown
#B79400
ΔE00 3.62
Baby Shit Brown
#AD900D
ΔE00 4.23
Ocre
#C69C04
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99D2D #2D49B9
analogous
#B9572D #B99D2D #8FB92D
triadic
#B99D2D #2DB99D #9D2DB9
tetradic
#B99D2D #2DB957 #2D49B9 #B92D8F
square
#B99D2D #2DB957 #2D49B9 #B92D8F
split-complementary
#B99D2D #2D8FB9 #572DB9
monochromatic
#574915 #887321 #B99D2D #D4BA4F #E0CD80
Accessibility & contrast
On white
2.65
#B99D2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#B99D2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99D2D
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99D2D | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#C89087
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b99d2d; /* rgb */ color: rgb(185, 157, 45); /* oklch */ color: oklch(70.2% 0.129 94.3);
Tailwind
colors: {
custom: {
50: '#d2b96e',
500: '#b99d2d',
950: '#000000',
},
}SCSS
$custom: #b99d2d; $custom-light: #d2b96e; $custom-dark: #000000;
JSON
{
"hex": "#b99d2d",
"rgb": {
"r": 185,
"g": 157,
"b": 45
},
"hsl": {
"h": 48,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.70179,
"c": 0.12909,
"h": 94.3
},
"luminance": 0.34618
}Semantic roles & 50–950 ramp
primary
#B99D2D
secondary
#7989C9
accent
#64E444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B