#9B8C1E#9B8C1E
#9B8C1E is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.123 H 101.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8C1E |
|---|---|
| RGB | rgb(155, 140, 30) |
| HSL | hsl(53, 68%, 36%) |
| HSV | hsv(53, 81%, 61%) |
| CMYK | cmyk(0%, 9.7%, 80.6%, 39.2%) |
| CIE-LAB | lab(57.87, -6.22, 55.77) |
| CIE-LCH | lch(57.87, 56.11, 96.36°) |
| OKLab | oklab(63.47% -0.0236 0.1209) |
| OKLCH | oklch(63.47% 0.123 101) |
| XYZ | xyz(23.1311, 25.8196, 4.9933) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.51
Diarrhea
#9F8303
ΔE00 4.71
Baby Shit Brown
#AD900D
ΔE00 4.92
Dark Mustard
#A88905
ΔE00 4.98
Baby Poop
#937C00
ΔE00 5.85
Brown Yellow
#B29705
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8C1E #1E2D9B
analogous
#9B4E1E #9B8C1E #6C9B1E
triadic
#9B8C1E #1E9B8C #8C1E9B
tetradic
#9B8C1E #1E9B4E #1E2D9B #9B1E6C
square
#9B8C1E #1E9B4E #1E2D9B #9B1E6C
split-complementary
#9B8C1E #1E6C9B #4E1E9B
monochromatic
#342F0A #685E14 #9B8C1E #CEBA28 #DECE55
Accessibility & contrast
On white
3.41
#9B8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9B8C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8C1E
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8C1E | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9b8c1e; /* rgb */ color: rgb(155, 140, 30); /* oklch */ color: oklch(63.5% 0.123 101.0);
Tailwind
colors: {
custom: {
50: '#bcad64',
500: '#9b8c1e',
950: '#000000',
},
}SCSS
$custom: #9b8c1e; $custom-light: #bcad64; $custom-dark: #000000;
JSON
{
"hex": "#9b8c1e",
"rgb": {
"r": 155,
"g": 140,
"b": 30
},
"hsl": {
"h": 52.8,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.63466,
"c": 0.1232,
"h": 101
},
"luminance": 0.25818
}Semantic roles & 50–950 ramp
primary
#9B8C1E
secondary
#5360C2
accent
#52EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A