#9B8E1E#9B8E1E
#9B8E1E is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.125 H 102.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8E1E |
|---|---|
| RGB | rgb(155, 142, 30) |
| HSL | hsl(54, 68%, 36%) |
| HSV | hsv(54, 81%, 61%) |
| CMYK | cmyk(0%, 8.4%, 80.6%, 39.2%) |
| CIE-LAB | lab(58.42, -7.30, 56.26) |
| CIE-LCH | lch(58.42, 56.73, 97.39°) |
| OKLab | oklab(63.91% -0.0266 0.122) |
| OKLCH | oklch(63.91% 0.125 102.3) |
| XYZ | xyz(23.4260, 26.4094, 5.0916) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.73
Baby Shit Brown
#AD900D
ΔE00 5.20
Diarrhea
#9F8303
ΔE00 5.49
Dark Mustard
#A88905
ΔE00 5.57
Brown Yellow
#B29705
ΔE00 5.96
Pea Soup
#929901
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8E1E #1E2B9B
analogous
#9B501E #9B8E1E #6A9B1E
triadic
#9B8E1E #1E9B8E #8E1E9B
tetradic
#9B8E1E #1E9B50 #1E2B9B #9B1E6A
square
#9B8E1E #1E9B50 #1E2B9B #9B1E6A
split-complementary
#9B8E1E #1E6A9B #501E9B
monochromatic
#34300A #685F14 #9B8E1E #CEBD28 #DED055
Accessibility & contrast
On white
3.34
#9B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#9B8E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8E1E
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8E1E | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#A78379
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9b8e1e; /* rgb */ color: rgb(155, 142, 30); /* oklch */ color: oklch(63.9% 0.125 102.3);
Tailwind
colors: {
custom: {
50: '#bcae65',
500: '#9b8e1e',
950: '#000000',
},
}SCSS
$custom: #9b8e1e; $custom-light: #bcae65; $custom-dark: #000000;
JSON
{
"hex": "#9b8e1e",
"rgb": {
"r": 155,
"g": 142,
"b": 30
},
"hsl": {
"h": 53.76,
"s": 67.568,
"l": 36.275
},
"oklch": {
"l": 0.6391,
"c": 0.12486,
"h": 102.3
},
"luminance": 0.26408
}Semantic roles & 50–950 ramp
primary
#9B8E1E
secondary
#535FC2
accent
#4FEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A