#9F8620#9F8620
#9F8620 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.118 H 94.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8620 |
|---|---|
| RGB | rgb(159, 134, 32) |
| HSL | hsl(48, 66%, 37%) |
| HSV | hsv(48, 80%, 62%) |
| CMYK | cmyk(0%, 15.7%, 79.9%, 37.6%) |
| CIE-LAB | lab(56.61, -1.02, 54.13) |
| CIE-LCH | lch(56.61, 54.14, 91.08°) |
| OKLab | oklab(62.57% -0.0089 0.1176) |
| OKLCH | oklch(62.57% 0.118 94.3) |
| XYZ | xyz(23.0852, 24.5268, 4.8844) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.03
Dark Mustard
#A88905
ΔE00 2.95
Baby Poop
#937C00
ΔE00 4.07
Yellowy Brown
#AE8B0C
ΔE00 4.09
Baby Shit Brown
#AD900D
ΔE00 4.38
Baby Poo
#AB9004
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8620 #20399F
analogous
#9F4720 #9F8620 #789F20
triadic
#9F8620 #209F86 #86209F
tetradic
#9F8620 #209F47 #20399F #9F2078
square
#9F8620 #209F47 #20399F #9F2078
split-complementary
#9F8620 #20789F #47209F
monochromatic
#39300B #6C5B16 #9F8620 #D2B12A #DEC45B
Accessibility & contrast
On white
3.56
#9F8620 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#9F8620 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8620
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8620 | 1.00 | 3.56 | 5.91 | 5.91 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8620; /* rgb */ color: rgb(159, 134, 32); /* oklch */ color: oklch(62.6% 0.118 94.3);
Tailwind
colors: {
custom: {
50: '#bfa865',
500: '#9f8620',
950: '#000000',
},
}SCSS
$custom: #9f8620; $custom-light: #bfa865; $custom-dark: #000000;
JSON
{
"hex": "#9f8620",
"rgb": {
"r": 159,
"g": 134,
"b": 32
},
"hsl": {
"h": 48.189,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.62568,
"c": 0.11795,
"h": 94.3
},
"luminance": 0.24525
}Semantic roles & 50–950 ramp
primary
#9F8620
secondary
#596DC2
accent
#60E93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A