#9F8A2A#9F8A2A
#9F8A2A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.115 H 96.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8A2A |
|---|---|
| RGB | rgb(159, 138, 42) |
| HSL | hsl(49, 58%, 39%) |
| HSV | hsv(49, 74%, 62%) |
| CMYK | cmyk(0%, 13.2%, 73.6%, 37.6%) |
| CIE-LAB | lab(57.77, -2.79, 51.50) |
| CIE-LCH | lch(57.77, 51.58, 93.10°) |
| OKLab | oklab(63.5% -0.0128 0.1141) |
| OKLCH | oklch(63.5% 0.115 96.4) |
| XYZ | xyz(23.8057, 25.7163, 5.8999) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.68
Dark Mustard
#A88905
ΔE00 3.91
Baby Poo
#AB9004
ΔE00 4.34
Baby Shit Brown
#AD900D
ΔE00 4.41
Yellowy Brown
#AE8B0C
ΔE00 4.87
Baby Poop
#937C00
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8A2A #2A3F9F
analogous
#9F502A #9F8A2A #7A9F2A
triadic
#9F8A2A #2A9F8A #8A2A9F
tetradic
#9F8A2A #2A9F50 #2A3F9F #9F2A7A
square
#9F8A2A #2A9F50 #2A3F9F #9F2A7A
split-complementary
#9F8A2A #2A7A9F #502A9F
monochromatic
#3E3610 #6F601D #9F8A2A #CBB13B #D8C56B
Accessibility & contrast
On white
3.42
#9F8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9F8A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8A2A
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8A2A | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#AC7F77
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9f8a2a; /* rgb */ color: rgb(159, 138, 42); /* oklch */ color: oklch(63.5% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#bfab6a',
500: '#9f8a2a',
950: '#000000',
},
}SCSS
$custom: #9f8a2a; $custom-light: #bfab6a; $custom-dark: #000000;
JSON
{
"hex": "#9f8a2a",
"rgb": {
"r": 159,
"g": 138,
"b": 42
},
"hsl": {
"h": 49.231,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.63501,
"c": 0.11481,
"h": 96.4
},
"luminance": 0.25715
}Semantic roles & 50–950 ramp
primary
#9F8A2A
secondary
#6676BF
accent
#62E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A