#9F892D#9F892D
#9F892D is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.112 H 95.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9F892D |
|---|---|
| RGB | rgb(159, 137, 45) |
| HSL | hsl(48, 56%, 40%) |
| HSV | hsv(48, 72%, 62%) |
| CMYK | cmyk(0%, 13.8%, 71.7%, 37.6%) |
| CIE-LAB | lab(57.51, -2.08, 50.03) |
| CIE-LCH | lch(57.51, 50.07, 92.38°) |
| OKLab | oklab(63.31% -0.0105 0.1115) |
| OKLCH | oklch(63.31% 0.112 95.4) |
| XYZ | xyz(23.7186, 25.4530, 6.1457) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.68
Dark Mustard
#A88905
ΔE00 4.04
Baby Shit Brown
#AD900D
ΔE00 4.74
Baby Poo
#AB9004
ΔE00 4.75
Yellowy Brown
#AE8B0C
ΔE00 4.92
Baby Poop
#937C00
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F892D #2D439F
analogous
#9F502D #9F892D #7C9F2D
triadic
#9F892D #2D9F89 #892D9F
tetradic
#9F892D #2D9F50 #2D439F #9F2D7C
square
#9F892D #2D9F50 #2D439F #9F2D7C
split-complementary
#9F892D #2D7C9F #502D9F
monochromatic
#403712 #6F6020 #9F892D #C9AF40 #D6C370
Accessibility & contrast
On white
3.45
#9F892D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#9F892D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F892D
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F892D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F892D | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f892d; /* rgb */ color: rgb(159, 137, 45); /* oklch */ color: oklch(63.3% 0.112 95.4);
Tailwind
colors: {
custom: {
50: '#bfab6c',
500: '#9f892d',
950: '#000000',
},
}SCSS
$custom: #9f892d; $custom-light: #bfab6c; $custom-dark: #000000;
JSON
{
"hex": "#9f892d",
"rgb": {
"r": 159,
"g": 137,
"b": 45
},
"hsl": {
"h": 48.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.63308,
"c": 0.11203,
"h": 95.4
},
"luminance": 0.25452
}Semantic roles & 50–950 ramp
primary
#9F892D
secondary
#6A7ABE
accent
#66DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A