#9B8023#9B8023
#9B8023 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.112 H 91.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8023 |
|---|---|
| RGB | rgb(155, 128, 35) |
| HSL | hsl(47, 63%, 37%) |
| HSV | hsv(47, 77%, 61%) |
| CMYK | cmyk(0%, 17.4%, 77.4%, 39.2%) |
| CIE-LAB | lab(54.58, 0.60, 51.03) |
| CIE-LCH | lch(54.58, 51.03, 89.32°) |
| OKLab | oklab(60.88% -0.0037 0.1118) |
| OKLCH | oklch(60.88% 0.112 91.9) |
| XYZ | xyz(21.5413, 22.5296, 4.8038) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.87
Yellowish Brown
#9B7A01
ΔE00 3.12
Baby Poop
#937C00
ΔE00 3.23
Puke Brown
#947706
ΔE00 3.60
Hazel
#8E7618
ΔE00 4.13
Dark Mustard
#A88905
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8023 #233E9B
analogous
#9B4423 #9B8023 #7A9B23
triadic
#9B8023 #239B80 #80239B
tetradic
#9B8023 #239B44 #233E9B #9B237A
square
#9B8023 #239B44 #233E9B #9B237A
split-complementary
#9B8023 #237A9B #44239B
monochromatic
#372E0C #695718 #9B8023 #CDA92E #DBBF5E
Accessibility & contrast
On white
3.81
#9B8023 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#9B8023 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8023
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8023 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8023 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#A8756E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9b8023; /* rgb */ color: rgb(155, 128, 35); /* oklch */ color: oklch(60.9% 0.112 91.9);
Tailwind
colors: {
custom: {
50: '#bca465',
500: '#9b8023',
950: '#000000',
},
}SCSS
$custom: #9b8023; $custom-light: #bca465; $custom-dark: #000000;
JSON
{
"hex": "#9b8023",
"rgb": {
"r": 155,
"g": 128,
"b": 35
},
"hsl": {
"h": 46.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.60878,
"c": 0.11188,
"h": 91.9
},
"luminance": 0.22528
}Semantic roles & 50–950 ramp
primary
#9B8023
secondary
#5A71BF
accent
#67E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A