#9C7F22#9C7F22
#9C7F22 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.8% C 0.112 H 90.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7F22 |
|---|---|
| RGB | rgb(156, 127, 34) |
| HSL | hsl(46, 64%, 37%) |
| HSV | hsv(46, 78%, 61%) |
| CMYK | cmyk(0%, 18.6%, 78.2%, 38.8%) |
| CIE-LAB | lab(54.41, 1.58, 51.28) |
| CIE-LCH | lch(54.41, 51.30, 88.23°) |
| OKLab | oklab(60.76% -0.0011 0.1121) |
| OKLCH | oklch(60.76% 0.112 90.6) |
| XYZ | xyz(21.5897, 22.3635, 4.6925) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.69
Diarrhea
#9F8303
ΔE00 3.06
Puke Brown
#947706
ΔE00 3.36
Baby Poop
#937C00
ΔE00 3.48
Hazel
#8E7618
ΔE00 4.12
Dark Mustard
#A88905
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7F22 #223F9C
analogous
#9C4222 #9C7F22 #7C9C22
triadic
#9C7F22 #229C7F #7F229C
tetradic
#9C7F22 #229C42 #223F9C #9C227C
square
#9C7F22 #229C42 #223F9C #9C227C
split-complementary
#9C7F22 #227C9C #42229C
monochromatic
#382D0C #6A5617 #9C7F22 #CEA82D #DCBD5D
Accessibility & contrast
On white
3.84
#9C7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#9C7F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7F22
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7F22 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#A9746D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9c7f22; /* rgb */ color: rgb(156, 127, 34); /* oklch */ color: oklch(60.8% 0.112 90.6);
Tailwind
colors: {
custom: {
50: '#bda365',
500: '#9c7f22',
950: '#000000',
},
}SCSS
$custom: #9c7f22; $custom-light: #bda365; $custom-dark: #000000;
JSON
{
"hex": "#9c7f22",
"rgb": {
"r": 156,
"g": 127,
"b": 34
},
"hsl": {
"h": 45.738,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.60763,
"c": 0.11211,
"h": 90.6
},
"luminance": 0.22362
}Semantic roles & 50–950 ramp
primary
#9C7F22
secondary
#5A72C0
accent
#68E741
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A