#9F8720#9F8720
#9F8720 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.119 H 95.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8720 |
|---|---|
| RGB | rgb(159, 135, 32) |
| HSL | hsl(49, 66%, 37%) |
| HSV | hsv(49, 80%, 62%) |
| CMYK | cmyk(0%, 15.1%, 79.9%, 37.6%) |
| CIE-LAB | lab(56.88, -1.57, 54.38) |
| CIE-LCH | lch(56.88, 54.40, 91.66°) |
| OKLab | oklab(62.78% -0.0104 0.1182) |
| OKLCH | oklch(62.78% 0.119 95.1) |
| XYZ | xyz(23.2240, 24.8045, 4.9307) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.23
Dark Mustard
#A88905
ΔE00 2.95
Yellowy Brown
#AE8B0C
ΔE00 4.13
Baby Poo
#AB9004
ΔE00 4.14
Baby Shit Brown
#AD900D
ΔE00 4.18
Baby Poop
#937C00
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8720 #20389F
analogous
#9F4720 #9F8720 #789F20
triadic
#9F8720 #209F87 #87209F
tetradic
#9F8720 #209F47 #20389F #9F2078
square
#9F8720 #209F47 #20389F #9F2078
split-complementary
#9F8720 #20789F #47209F
monochromatic
#39300B #6C5C16 #9F8720 #D2B22A #DEC55B
Accessibility & contrast
On white
3.52
#9F8720 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#9F8720 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8720
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8720 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8720 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968407
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8720; /* rgb */ color: rgb(159, 135, 32); /* oklch */ color: oklch(62.8% 0.119 95.1);
Tailwind
colors: {
custom: {
50: '#bfa965',
500: '#9f8720',
950: '#000000',
},
}SCSS
$custom: #9f8720; $custom-light: #bfa965; $custom-dark: #000000;
JSON
{
"hex": "#9f8720",
"rgb": {
"r": 159,
"g": 135,
"b": 32
},
"hsl": {
"h": 48.661,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.62784,
"c": 0.11862,
"h": 95.1
},
"luminance": 0.24803
}Semantic roles & 50–950 ramp
primary
#9F8720
secondary
#596DC2
accent
#5FE93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A