#9B8B1E#9B8B1E
#9B8B1E is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.122 H 100.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8B1E |
|---|---|
| RGB | rgb(155, 139, 30) |
| HSL | hsl(52, 68%, 36%) |
| HSV | hsv(52, 81%, 61%) |
| CMYK | cmyk(0%, 10.3%, 80.6%, 39.2%) |
| CIE-LAB | lab(57.59, -5.67, 55.52) |
| CIE-LCH | lch(57.59, 55.81, 95.83°) |
| OKLab | oklab(63.25% -0.022 0.1204) |
| OKLCH | oklch(63.25% 0.122 100.4) |
| XYZ | xyz(22.9857, 25.5287, 4.9448) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.33
Baby Poo
#AB9004
ΔE00 4.45
Dark Mustard
#A88905
ΔE00 4.71
Baby Shit Brown
#AD900D
ΔE00 4.83
Baby Poop
#937C00
ΔE00 5.48
Yellowy Brown
#AE8B0C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8B1E #1E2E9B
analogous
#9B4D1E #9B8B1E #6D9B1E
triadic
#9B8B1E #1E9B8B #8B1E9B
tetradic
#9B8B1E #1E9B4D #1E2E9B #9B1E6D
square
#9B8B1E #1E9B4D #1E2E9B #9B1E6D
split-complementary
#9B8B1E #1E6D9B #4D1E9B
monochromatic
#342F0A #685D14 #9B8B1E #CEB928 #DECD55
Accessibility & contrast
On white
3.44
#9B8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#9B8B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8B1E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8B1E | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9b8b1e; /* rgb */ color: rgb(155, 139, 30); /* oklch */ color: oklch(63.2% 0.122 100.4);
Tailwind
colors: {
custom: {
50: '#bcac64',
500: '#9b8b1e',
950: '#000000',
},
}SCSS
$custom: #9b8b1e; $custom-light: #bcac64; $custom-dark: #000000;
JSON
{
"hex": "#9b8b1e",
"rgb": {
"r": 155,
"g": 139,
"b": 30
},
"hsl": {
"h": 52.32,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.63245,
"c": 0.12239,
"h": 100.4
},
"luminance": 0.25528
}Semantic roles & 50–950 ramp
primary
#9B8B1E
secondary
#5361C2
accent
#54EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A