#9F841F#9F841F
#9F841F is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.117 H 92.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F841F |
|---|---|
| RGB | rgb(159, 132, 31) |
| HSL | hsl(47, 67%, 37%) |
| HSV | hsv(47, 81%, 62%) |
| CMYK | cmyk(0%, 17%, 80.5%, 37.6%) |
| CIE-LAB | lab(56.06, 0.05, 53.97) |
| CIE-LCH | lch(56.06, 53.97, 89.94°) |
| OKLab | oklab(62.13% -0.0059 0.1171) |
| OKLCH | oklch(62.13% 0.117 92.9) |
| XYZ | xyz(22.7980, 23.9738, 4.7227) |
| Luminance | 0.2397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.79
Dark Mustard
#A88905
ΔE00 3.07
Baby Poop
#937C00
ΔE00 3.76
Yellowish Brown
#9B7A01
ΔE00 3.86
Yellowy Brown
#AE8B0C
ΔE00 4.12
Puke Brown
#947706
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F841F #1F3A9F
analogous
#9F441F #9F841F #7A9F1F
triadic
#9F841F #1F9F84 #841F9F
tetradic
#9F841F #1F9F44 #1F3A9F #9F1F7A
square
#9F841F #1F9F44 #1F3A9F #9F1F7A
split-complementary
#9F841F #1F7A9F #441F9F
monochromatic
#392F0B #6C5915 #9F841F #D2AF29 #DFC35A
Accessibility & contrast
On white
3.62
#9F841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#9F841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F841F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F841F | 1.00 | 3.62 | 5.79 | 5.79 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#AC7971
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f841f; /* rgb */ color: rgb(159, 132, 31); /* oklch */ color: oklch(62.1% 0.117 92.9);
Tailwind
colors: {
custom: {
50: '#c0a764',
500: '#9f841f',
950: '#000000',
},
}SCSS
$custom: #9f841f; $custom-light: #c0a764; $custom-dark: #000000;
JSON
{
"hex": "#9f841f",
"rgb": {
"r": 159,
"g": 132,
"b": 31
},
"hsl": {
"h": 47.344,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.62132,
"c": 0.11723,
"h": 92.9
},
"luminance": 0.23972
}Semantic roles & 50–950 ramp
primary
#9F841F
secondary
#576EC3
accent
#62EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A