#9F8722#9F8722
#9F8722 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.118 H 94.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8722 |
|---|---|
| RGB | rgb(159, 135, 34) |
| HSL | hsl(48, 65%, 38%) |
| HSV | hsv(48, 79%, 62%) |
| CMYK | cmyk(0%, 15.1%, 78.6%, 37.6%) |
| CIE-LAB | lab(56.90, -1.49, 53.69) |
| CIE-LCH | lch(56.90, 53.71, 91.59°) |
| OKLab | oklab(62.8% -0.01 0.1171) |
| OKLCH | oklch(62.8% 0.118 94.9) |
| XYZ | xyz(23.2521, 24.8157, 5.0782) |
| Luminance | 0.2481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.37
Dark Mustard
#A88905
ΔE00 3.07
Yellowy Brown
#AE8B0C
ΔE00 4.20
Baby Poo
#AB9004
ΔE00 4.27
Baby Shit Brown
#AD900D
ΔE00 4.28
Baby Poop
#937C00
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8722 #223A9F
analogous
#9F4822 #9F8722 #789F22
triadic
#9F8722 #229F87 #87229F
tetradic
#9F8722 #229F48 #223A9F #9F2278
square
#9F8722 #229F48 #223A9F #9F2278
split-complementary
#9F8722 #22789F #48229F
monochromatic
#3A310C #6D5C17 #9F8722 #D1B22D #DDC55F
Accessibility & contrast
On white
3.52
#9F8722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#9F8722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8722
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8722 | 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)
#96840C
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8722; /* rgb */ color: rgb(159, 135, 34); /* oklch */ color: oklch(62.8% 0.118 94.9);
Tailwind
colors: {
custom: {
50: '#bfa966',
500: '#9f8722',
950: '#000000',
},
}SCSS
$custom: #9f8722; $custom-light: #bfa966; $custom-dark: #000000;
JSON
{
"hex": "#9f8722",
"rgb": {
"r": 159,
"g": 135,
"b": 34
},
"hsl": {
"h": 48.48,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.62796,
"c": 0.11754,
"h": 94.9
},
"luminance": 0.24814
}Semantic roles & 50–950 ramp
primary
#9F8722
secondary
#5B6FC1
accent
#60E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A