#9B8727#9B8727
#9B8727 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.114 H 97.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8727 |
|---|---|
| RGB | rgb(155, 135, 39) |
| HSL | hsl(50, 60%, 38%) |
| HSV | hsv(50, 75%, 61%) |
| CMYK | cmyk(0%, 12.9%, 74.8%, 39.2%) |
| CIE-LAB | lab(56.53, -3.10, 51.35) |
| CIE-LCH | lch(56.53, 51.44, 93.46°) |
| OKLab | oklab(62.42% -0.0138 0.1133) |
| OKLCH | oklch(62.42% 0.114 97) |
| XYZ | xyz(22.5489, 24.4442, 5.4496) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.41
Dark Mustard
#A88905
ΔE00 4.36
Baby Poop
#937C00
ΔE00 4.39
Baby Poo
#AB9004
ΔE00 5.13
Baby Shit Brown
#AD900D
ΔE00 5.25
Yellowy Brown
#AE8B0C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8727 #273B9B
analogous
#9B4D27 #9B8727 #759B27
triadic
#9B8727 #279B87 #87279B
tetradic
#9B8727 #279B4D #273B9B #9B2775
square
#9B8727 #279B4D #273B9B #9B2775
split-complementary
#9B8727 #27759B #4D279B
monochromatic
#39320E #6A5C1B #9B8727 #CCB233 #D8C464
Accessibility & contrast
On white
3.57
#9B8727 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#9B8727 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8727
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8727 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9b8727; /* rgb */ color: rgb(155, 135, 39); /* oklch */ color: oklch(62.4% 0.114 97.0);
Tailwind
colors: {
custom: {
50: '#bca968',
500: '#9b8727',
950: '#000000',
},
}SCSS
$custom: #9b8727; $custom-light: #bca968; $custom-dark: #000000;
JSON
{
"hex": "#9b8727",
"rgb": {
"r": 155,
"g": 135,
"b": 39
},
"hsl": {
"h": 49.655,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.62424,
"c": 0.11417,
"h": 97
},
"luminance": 0.24443
}Semantic roles & 50–950 ramp
primary
#9B8727
secondary
#6070BE
accent
#60E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A