#9B831E#9B831E
#9B831E is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.117 H 94.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9B831E |
|---|---|
| RGB | rgb(155, 131, 30) |
| HSL | hsl(48, 68%, 36%) |
| HSV | hsv(48, 81%, 61%) |
| CMYK | cmyk(0%, 15.5%, 80.6%, 39.2%) |
| CIE-LAB | lab(55.38, -1.27, 53.54) |
| CIE-LCH | lch(55.38, 53.56, 91.36°) |
| OKLab | oklab(61.49% -0.0096 0.1161) |
| OKLCH | oklch(61.49% 0.117 94.7) |
| XYZ | xyz(21.8694, 23.2962, 4.5728) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.09
Baby Poop
#937C00
ΔE00 3.03
Dark Mustard
#A88905
ΔE00 3.83
Yellowish Brown
#9B7A01
ΔE00 3.99
Puke Brown
#947706
ΔE00 4.47
Hazel
#8E7618
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B831E #1E369B
analogous
#9B451E #9B831E #759B1E
triadic
#9B831E #1E9B83 #831E9B
tetradic
#9B831E #1E9B45 #1E369B #9B1E75
square
#9B831E #1E9B45 #1E369B #9B1E75
split-complementary
#9B831E #1E759B #451E9B
monochromatic
#342C0A #685814 #9B831E #CEAE28 #DEC455
Accessibility & contrast
On white
3.71
#9B831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#9B831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B831E
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B831E | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A87870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9b831e; /* rgb */ color: rgb(155, 131, 30); /* oklch */ color: oklch(61.5% 0.117 94.7);
Tailwind
colors: {
custom: {
50: '#bda663',
500: '#9b831e',
950: '#000000',
},
}SCSS
$custom: #9b831e; $custom-light: #bda663; $custom-dark: #000000;
JSON
{
"hex": "#9b831e",
"rgb": {
"r": 155,
"g": 131,
"b": 30
},
"hsl": {
"h": 48.48,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.61494,
"c": 0.11653,
"h": 94.7
},
"luminance": 0.23295
}Semantic roles & 50–950 ramp
primary
#9B831E
secondary
#5368C2
accent
#5FEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A