#9B7F1E#9B7F1E
#9B7F1E is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.114 H 91.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7F1E |
|---|---|
| RGB | rgb(155, 127, 30) |
| HSL | hsl(47, 68%, 36%) |
| HSV | hsv(47, 81%, 61%) |
| CMYK | cmyk(0%, 18.1%, 80.6%, 39.2%) |
| CIE-LAB | lab(54.28, 0.96, 52.56) |
| CIE-LCH | lch(54.28, 52.57, 88.95°) |
| OKLab | oklab(60.63% -0.0032 0.114) |
| OKLCH | oklch(60.63% 0.114 91.6) |
| XYZ | xyz(21.3425, 22.2424, 4.3971) |
| Luminance | 0.2224 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.54
Diarrhea
#9F8303
ΔE00 2.65
Baby Poop
#937C00
ΔE00 2.93
Puke Brown
#947706
ΔE00 3.13
Hazel
#8E7618
ΔE00 3.93
Dark Mustard
#A88905
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7F1E #1E3A9B
analogous
#9B411E #9B7F1E #799B1E
triadic
#9B7F1E #1E9B7F #7F1E9B
tetradic
#9B7F1E #1E9B41 #1E3A9B #9B1E79
square
#9B7F1E #1E9B41 #1E3A9B #9B1E79
split-complementary
#9B7F1E #1E799B #411E9B
monochromatic
#342B0A #685514 #9B7F1E #CEA928 #DEBF55
Accessibility & contrast
On white
3.85
#9B7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#9B7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7F1E
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7F1E | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A8746D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9b7f1e; /* rgb */ color: rgb(155, 127, 30); /* oklch */ color: oklch(60.6% 0.114 91.6);
Tailwind
colors: {
custom: {
50: '#bda363',
500: '#9b7f1e',
950: '#000000',
},
}SCSS
$custom: #9b7f1e; $custom-light: #bda363; $custom-dark: #000000;
JSON
{
"hex": "#9b7f1e",
"rgb": {
"r": 155,
"g": 127,
"b": 30
},
"hsl": {
"h": 46.56,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.60631,
"c": 0.11408,
"h": 91.6
},
"luminance": 0.22241
}Semantic roles & 50–950 ramp
primary
#9B7F1E
secondary
#536CC2
accent
#64EA3D
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A