#9B8F27#9B8F27
#9B8F27 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.121 H 102.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8F27 |
|---|---|
| RGB | rgb(155, 143, 39) |
| HSL | hsl(54, 60%, 38%) |
| HSV | hsv(54, 75%, 61%) |
| CMYK | cmyk(0%, 7.7%, 74.8%, 39.2%) |
| CIE-LAB | lab(58.75, -7.47, 53.48) |
| CIE-LCH | lch(58.75, 54.00, 97.95°) |
| OKLab | oklab(64.19% -0.0262 0.1179) |
| OKLCH | oklch(64.19% 0.121 102.5) |
| XYZ | xyz(23.7073, 26.7610, 5.8357) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.25
Baby Shit Brown
#AD900D
ΔE00 5.64
Diarrhea
#9F8303
ΔE00 6.04
Pea Soup
#929901
ΔE00 6.06
Dark Mustard
#A88905
ΔE00 6.09
Baby Poop Green
#8F9805
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8F27 #27339B
analogous
#9B5527 #9B8F27 #6D9B27
triadic
#9B8F27 #279B8F #8F279B
tetradic
#9B8F27 #279B55 #27339B #9B276D
square
#9B8F27 #279B55 #27339B #9B276D
split-complementary
#9B8F27 #276D9B #55279B
monochromatic
#39350E #6A621B #9B8F27 #CCBC33 #D8CC64
Accessibility & contrast
On white
3.31
#9B8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#9B8F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8F27
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8F27 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A14
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9b8f27; /* rgb */ color: rgb(155, 143, 39); /* oklch */ color: oklch(64.2% 0.121 102.5);
Tailwind
colors: {
custom: {
50: '#bcaf69',
500: '#9b8f27',
950: '#000000',
},
}SCSS
$custom: #9b8f27; $custom-light: #bcaf69; $custom-dark: #000000;
JSON
{
"hex": "#9b8f27",
"rgb": {
"r": 155,
"g": 143,
"b": 39
},
"hsl": {
"h": 53.793,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.64187,
"c": 0.12073,
"h": 102.5
},
"luminance": 0.2676
}Semantic roles & 50–950 ramp
primary
#9B8F27
secondary
#606ABE
accent
#55E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A