#9B8625#9B8625
#9B8625 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.115 H 96.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8625 |
|---|---|
| RGB | rgb(155, 134, 37) |
| HSL | hsl(49, 61%, 38%) |
| HSV | hsv(49, 76%, 61%) |
| CMYK | cmyk(0%, 13.5%, 76.1%, 39.2%) |
| CIE-LAB | lab(56.24, -2.64, 51.84) |
| CIE-LCH | lch(56.24, 51.90, 92.92°) |
| OKLab | oklab(62.19% -0.0127 0.114) |
| OKLCH | oklch(62.19% 0.115 96.4) |
| XYZ | xyz(22.3778, 24.1535, 5.2333) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.04
Baby Poop
#937C00
ΔE00 4.02
Dark Mustard
#A88905
ΔE00 4.17
Baby Poo
#AB9004
ΔE00 5.16
Baby Shit Brown
#AD900D
ΔE00 5.26
Yellowish Brown
#9B7A01
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8625 #253A9B
analogous
#9B4B25 #9B8625 #759B25
triadic
#9B8625 #259B86 #86259B
tetradic
#9B8625 #259B4B #253A9B #9B2575
square
#9B8625 #259B4B #253A9B #9B2575
split-complementary
#9B8625 #25759B #4B259B
monochromatic
#38310D #6A5B19 #9B8625 #CCB131 #D9C461
Accessibility & contrast
On white
3.60
#9B8625 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#9B8625 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8625
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8625 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b8625; /* rgb */ color: rgb(155, 134, 37); /* oklch */ color: oklch(62.2% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#bca867',
500: '#9b8625',
950: '#000000',
},
}SCSS
$custom: #9b8625; $custom-light: #bca867; $custom-dark: #000000;
JSON
{
"hex": "#9b8625",
"rgb": {
"r": 155,
"g": 134,
"b": 37
},
"hsl": {
"h": 49.322,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.62191,
"c": 0.11468,
"h": 96.4
},
"luminance": 0.24152
}Semantic roles & 50–950 ramp
primary
#9B8625
secondary
#5D6FBF
accent
#60E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A