#9D7E1B#9D7E1B
#9D7E1B is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.115 H 89.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7E1B |
|---|---|
| RGB | rgb(157, 126, 27) |
| HSL | hsl(46, 71%, 36%) |
| HSV | hsv(46, 83%, 62%) |
| CMYK | cmyk(0%, 19.7%, 82.8%, 38.4%) |
| CIE-LAB | lab(54.21, 2.34, 53.58) |
| CIE-LCH | lch(54.21, 53.63, 87.50°) |
| OKLab | oklab(60.61% 0.0003 0.1155) |
| OKLCH | oklch(60.61% 0.115 89.9) |
| XYZ | xyz(21.5646, 22.1704, 4.1802) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.95
Diarrhea
#9F8303
ΔE00 2.86
Puke Brown
#947706
ΔE00 3.01
Baby Poop
#937C00
ΔE00 3.43
Hazel
#8E7618
ΔE00 4.20
Poo
#8F7303
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7E1B #1B3A9D
analogous
#9D3D1B #9D7E1B #7B9D1B
triadic
#9D7E1B #1B9D7E #7E1B9D
tetradic
#9D7E1B #1B9D3D #1B3A9D #9D1B7B
square
#9D7E1B #1B9D3D #1B3A9D #9D1B7B
split-complementary
#9D7E1B #1B7B9D #3D1B9D
monochromatic
#352A09 #695412 #9D7E1B #D1A824 #E1BF51
Accessibility & contrast
On white
3.86
#9D7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#9D7E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7E1B
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7E1B | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D01
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#AB726C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9d7e1b; /* rgb */ color: rgb(157, 126, 27); /* oklch */ color: oklch(60.6% 0.115 89.9);
Tailwind
colors: {
custom: {
50: '#bea361',
500: '#9d7e1b',
950: '#000000',
},
}SCSS
$custom: #9d7e1b; $custom-light: #bea361; $custom-dark: #000000;
JSON
{
"hex": "#9d7e1b",
"rgb": {
"r": 157,
"g": 126,
"b": 27
},
"hsl": {
"h": 45.692,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.60614,
"c": 0.11545,
"h": 89.9
},
"luminance": 0.22169
}Semantic roles & 50–950 ramp
primary
#9D7E1B
secondary
#506CC4
accent
#65ED3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F05
muted
#827E7A