#B9982A#B9982A
#B9982A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 69.1% C 0.128 H 91.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B9982A |
|---|---|
| RGB | rgb(185, 152, 42) |
| HSL | hsl(46, 63%, 45%) |
| HSV | hsv(46, 77%, 73%) |
| CMYK | cmyk(0%, 17.8%, 77.3%, 27.5%) |
| CIE-LAB | lab(64.11, 1.27, 58.46) |
| CIE-LCH | lch(64.11, 58.48, 88.75°) |
| OKLab | oklab(69.12% -0.0028 0.1278) |
| OKLCH | oklch(69.12% 0.128 91.2) |
| XYZ | xyz(31.6556, 32.9399, 6.8808) |
| Luminance | 0.3294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.04
Yellow Brown
#B79400
ΔE00 2.49
Ocher
#BF9B0C
ΔE00 2.58
Brown Yellow
#B29705
ΔE00 3.12
Baby Shit Brown
#AD900D
ΔE00 3.40
Ocre
#C69C04
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9982A #2A4BB9
analogous
#B9512A #B9982A #93B92A
triadic
#B9982A #2AB998 #982AB9
tetradic
#B9982A #2AB951 #2A4BB9 #B92A93
square
#B9982A #2AB951 #2A4BB9 #B92A93
split-complementary
#B9982A #2A93B9 #512AB9
monochromatic
#554613 #876F1F #B9982A #D6B64A #E1CA7C
Accessibility & contrast
On white
2.77
#B9982A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#B9982A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9982A
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9982A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9982A | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#C98B83
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b9982a; /* rgb */ color: rgb(185, 152, 42); /* oklch */ color: oklch(69.1% 0.128 91.2);
Tailwind
colors: {
custom: {
50: '#d2b56c',
500: '#b9982a',
950: '#000000',
},
}SCSS
$custom: #b9982a; $custom-light: #d2b56c; $custom-dark: #000000;
JSON
{
"hex": "#b9982a",
"rgb": {
"r": 185,
"g": 152,
"b": 42
},
"hsl": {
"h": 46.154,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.69116,
"c": 0.12778,
"h": 91.2
},
"luminance": 0.32938
}Semantic roles & 50–950 ramp
primary
#B9982A
secondary
#7589CA
accent
#68E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A