#9F8A35#9F8A35
#9F8A35 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.107 H 95.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8A35 |
|---|---|
| RGB | rgb(159, 138, 53) |
| HSL | hsl(48, 50%, 42%) |
| HSV | hsv(48, 67%, 62%) |
| CMYK | cmyk(0%, 13.2%, 66.7%, 37.6%) |
| CIE-LAB | lab(57.85, -2.17, 46.90) |
| CIE-LCH | lch(57.85, 46.95, 92.65°) |
| OKLab | oklab(63.6% -0.0098 0.1063) |
| OKLCH | oklch(63.6% 0.107 95.3) |
| XYZ | xyz(24.0303, 25.8062, 7.0828) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.66
Dark Mustard
#A88905
ΔE00 4.91
Baby Shit Brown
#AD900D
ΔE00 5.40
Baby Poo
#AB9004
ΔE00 5.47
Yellowy Brown
#AE8B0C
ΔE00 5.62
Dark Khaki
#9B8F55
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8A35 #354A9F
analogous
#9F5535 #9F8A35 #7F9F35
triadic
#9F8A35 #359F8A #8A359F
tetradic
#9F8A35 #359F55 #354A9F #9F357F
square
#9F8A35 #359F55 #354A9F #9F357F
split-complementary
#9F8A35 #357F9F #55359F
monochromatic
#433A16 #716226 #9F8A35 #C4AC4D #D3C27B
Accessibility & contrast
On white
3.41
#9F8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9F8A35 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8A35
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8A35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8A35 | 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)
#98872B
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#AB8078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9f8a35; /* rgb */ color: rgb(159, 138, 53); /* oklch */ color: oklch(63.6% 0.107 95.3);
Tailwind
colors: {
custom: {
50: '#beab70',
500: '#9f8a35',
950: '#000000',
},
}SCSS
$custom: #9f8a35; $custom-light: #beab70; $custom-dark: #000000;
JSON
{
"hex": "#9f8a35",
"rgb": {
"r": 159,
"g": 138,
"b": 53
},
"hsl": {
"h": 48.113,
"s": 50,
"l": 41.569
},
"oklch": {
"l": 0.63596,
"c": 0.10677,
"h": 95.3
},
"luminance": 0.25805
}Semantic roles & 50–950 ramp
primary
#9F8A35
secondary
#7482BC
accent
#6ADA4E
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131008
muted
#827F7B