#B99D2F#B99D2F
#B99D2F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.128 H 94.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B99D2F |
|---|---|
| RGB | rgb(185, 157, 47) |
| HSL | hsl(48, 59%, 45%) |
| HSV | hsv(48, 75%, 73%) |
| CMYK | cmyk(0%, 15.1%, 74.6%, 27.5%) |
| CIE-LAB | lab(65.46, -1.21, 57.90) |
| CIE-LCH | lch(65.46, 57.91, 91.20°) |
| OKLab | oklab(70.19% -0.0093 0.1276) |
| OKLCH | oklch(70.19% 0.128 94.2) |
| XYZ | xyz(32.5794, 34.6353, 7.6580) |
| Luminance | 0.3463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.02
Ocher
#BF9B0C
ΔE00 3.05
Dark Gold
#B59410
ΔE00 3.26
Yellow Brown
#B79400
ΔE00 3.73
Baby Shit Brown
#AD900D
ΔE00 4.30
Ocre
#C69C04
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99D2F #2F4BB9
analogous
#B9582F #B99D2F #90B92F
triadic
#B99D2F #2FB99D #9D2FB9
tetradic
#B99D2F #2FB958 #2F4BB9 #B92F90
square
#B99D2F #2FB958 #2F4BB9 #B92F90
split-complementary
#B99D2F #2F90B9 #582FB9
monochromatic
#574A16 #887423 #B99D2F #D3B952 #DFCD83
Accessibility & contrast
On white
2.65
#B99D2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#B99D2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99D2F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99D2F | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C89087
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b99d2f; /* rgb */ color: rgb(185, 157, 47); /* oklch */ color: oklch(70.2% 0.128 94.2);
Tailwind
colors: {
custom: {
50: '#d2b96f',
500: '#b99d2f',
950: '#000000',
},
}SCSS
$custom: #b99d2f; $custom-light: #d2b96f; $custom-dark: #000000;
JSON
{
"hex": "#b99d2f",
"rgb": {
"r": 185,
"g": 157,
"b": 47
},
"hsl": {
"h": 47.826,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.70193,
"c": 0.12791,
"h": 94.2
},
"luminance": 0.34633
}Semantic roles & 50–950 ramp
primary
#B99D2F
secondary
#7B8BC9
accent
#65E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B