#9B8E2D#9B8E2D
#9B8E2D is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.116 H 101.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8E2D |
|---|---|
| RGB | rgb(155, 142, 45) |
| HSL | hsl(53, 55%, 39%) |
| HSV | hsv(53, 71%, 61%) |
| CMYK | cmyk(0%, 8.4%, 71%, 39.2%) |
| CIE-LAB | lab(58.51, -6.63, 50.91) |
| CIE-LCH | lch(58.51, 51.33, 97.42°) |
| OKLab | oklab(64.01% -0.0232 0.1135) |
| OKLCH | oklch(64.01% 0.116 101.5) |
| XYZ | xyz(23.6653, 26.5051, 6.3516) |
| Luminance | 0.2650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.47
Baby Shit Brown
#AD900D
ΔE00 5.77
Diarrhea
#9F8303
ΔE00 5.89
Dark Mustard
#A88905
ΔE00 6.04
Dark Khaki
#9B8F55
ΔE00 6.51
Brown Yellow
#B29705
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8E2D #2D3A9B
analogous
#9B572D #9B8E2D #719B2D
triadic
#9B8E2D #2D9B8E #8E2D9B
tetradic
#9B8E2D #2D9B57 #2D3A9B #9B2D71
square
#9B8E2D #2D9B57 #2D3A9B #9B2D71
split-complementary
#9B8E2D #2D719B #572D9B
monochromatic
#3C3711 #6C631F #9B8E2D #C7B73E #D5C96E
Accessibility & contrast
On white
3.33
#9B8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#9B8E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8E2D
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8E2D | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A1E
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A7847B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9b8e2d; /* rgb */ color: rgb(155, 142, 45); /* oklch */ color: oklch(64.0% 0.116 101.5);
Tailwind
colors: {
custom: {
50: '#bcae6c',
500: '#9b8e2d',
950: '#000000',
},
}SCSS
$custom: #9b8e2d; $custom-light: #bcae6c; $custom-dark: #000000;
JSON
{
"hex": "#9b8e2d",
"rgb": {
"r": 155,
"g": 142,
"b": 45
},
"hsl": {
"h": 52.909,
"s": 55,
"l": 39.216
},
"oklch": {
"l": 0.6401,
"c": 0.11588,
"h": 101.5
},
"luminance": 0.26504
}Semantic roles & 50–950 ramp
primary
#9B8E2D
secondary
#6872BC
accent
#5BDE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A