#9B8E27#9B8E27
#9B8E27 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.120 H 101.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8E27 |
|---|---|
| RGB | rgb(155, 142, 39) |
| HSL | hsl(53, 60%, 38%) |
| HSV | hsv(53, 75%, 61%) |
| CMYK | cmyk(0%, 8.4%, 74.8%, 39.2%) |
| CIE-LAB | lab(58.47, -6.93, 53.21) |
| CIE-LCH | lch(58.47, 53.66, 97.42°) |
| OKLab | oklab(63.97% -0.0247 0.1173) |
| OKLCH | oklch(63.97% 0.12 101.9) |
| XYZ | xyz(23.5579, 26.4621, 5.7859) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.11
Baby Shit Brown
#AD900D
ΔE00 5.48
Diarrhea
#9F8303
ΔE00 5.67
Dark Mustard
#A88905
ΔE00 5.80
Brown Yellow
#B29705
ΔE00 6.32
Pea Soup
#929901
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8E27 #27349B
analogous
#9B5427 #9B8E27 #6E9B27
triadic
#9B8E27 #279B8E #8E279B
tetradic
#9B8E27 #279B54 #27349B #9B276E
square
#9B8E27 #279B54 #27349B #9B276E
split-complementary
#9B8E27 #276E9B #54279B
monochromatic
#39340E #6A611B #9B8E27 #CCBB33 #D8CB64
Accessibility & contrast
On white
3.34
#9B8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#9B8E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8E27
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8E27 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#A7847A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9b8e27; /* rgb */ color: rgb(155, 142, 39); /* oklch */ color: oklch(64.0% 0.120 101.9);
Tailwind
colors: {
custom: {
50: '#bcae69',
500: '#9b8e27',
950: '#000000',
},
}SCSS
$custom: #9b8e27; $custom-light: #bcae69; $custom-dark: #000000;
JSON
{
"hex": "#9b8e27",
"rgb": {
"r": 155,
"g": 142,
"b": 39
},
"hsl": {
"h": 53.276,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.63965,
"c": 0.11985,
"h": 101.9
},
"luminance": 0.26461
}Semantic roles & 50–950 ramp
primary
#9B8E27
secondary
#606ABE
accent
#57E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A