#9B7E1E#9B7E1E
#9B7E1E is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.4% C 0.114 H 90.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7E1E |
|---|---|
| RGB | rgb(155, 126, 30) |
| HSL | hsl(46, 68%, 36%) |
| HSV | hsv(46, 81%, 61%) |
| CMYK | cmyk(0%, 18.7%, 80.6%, 39.2%) |
| CIE-LAB | lab(54.01, 1.52, 52.32) |
| CIE-LCH | lch(54.01, 52.34, 88.33°) |
| OKLab | oklab(60.42% -0.0016 0.1135) |
| OKLCH | oklch(60.42% 0.114 90.8) |
| XYZ | xyz(21.2140, 21.9854, 4.3543) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.27
Puke Brown
#947706
ΔE00 2.89
Diarrhea
#9F8303
ΔE00 2.97
Baby Poop
#937C00
ΔE00 3.09
Hazel
#8E7618
ΔE00 3.77
Poo
#8F7303
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7E1E #1E3B9B
analogous
#9B401E #9B7E1E #7A9B1E
triadic
#9B7E1E #1E9B7E #7E1E9B
tetradic
#9B7E1E #1E9B40 #1E3B9B #9B1E7A
square
#9B7E1E #1E9B40 #1E3B9B #9B1E7A
split-complementary
#9B7E1E #1E7A9B #401E9B
monochromatic
#342B0A #685414 #9B7E1E #CEA828 #DEBE55
Accessibility & contrast
On white
3.89
#9B7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9B7E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7E1E
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7E1E | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#A8736C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9b7e1e; /* rgb */ color: rgb(155, 126, 30); /* oklch */ color: oklch(60.4% 0.114 90.8);
Tailwind
colors: {
custom: {
50: '#bda363',
500: '#9b7e1e',
950: '#000000',
},
}SCSS
$custom: #9b7e1e; $custom-light: #bda363; $custom-dark: #000000;
JSON
{
"hex": "#9b7e1e",
"rgb": {
"r": 155,
"g": 126,
"b": 30
},
"hsl": {
"h": 46.08,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.60416,
"c": 0.11351,
"h": 90.8
},
"luminance": 0.21984
}Semantic roles & 50–950 ramp
primary
#9B7E1E
secondary
#536DC2
accent
#66EA3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A