#9F8622#9F8622
#9F8622 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.117 H 94.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8622 |
|---|---|
| RGB | rgb(159, 134, 34) |
| HSL | hsl(48, 65%, 38%) |
| HSV | hsv(48, 79%, 62%) |
| CMYK | cmyk(0%, 15.7%, 78.6%, 37.6%) |
| CIE-LAB | lab(56.62, -0.94, 53.44) |
| CIE-LCH | lch(56.62, 53.45, 91.01°) |
| OKLab | oklab(62.58% -0.0084 0.1166) |
| OKLCH | oklch(62.58% 0.117 94.1) |
| XYZ | xyz(23.1132, 24.5380, 5.0320) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.19
Dark Mustard
#A88905
ΔE00 3.08
Baby Poop
#937C00
ΔE00 4.14
Yellowy Brown
#AE8B0C
ΔE00 4.17
Baby Shit Brown
#AD900D
ΔE00 4.48
Baby Poo
#AB9004
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8622 #223B9F
analogous
#9F4722 #9F8622 #799F22
triadic
#9F8622 #229F86 #86229F
tetradic
#9F8622 #229F47 #223B9F #9F2279
square
#9F8622 #229F47 #223B9F #9F2279
split-complementary
#9F8622 #22799F #47229F
monochromatic
#3A310C #6D5C17 #9F8622 #D1B02D #DDC45F
Accessibility & contrast
On white
3.55
#9F8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#9F8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8622
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8622 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 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)
#95830D
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8622; /* rgb */ color: rgb(159, 134, 34); /* oklch */ color: oklch(62.6% 0.117 94.1);
Tailwind
colors: {
custom: {
50: '#bfa866',
500: '#9f8622',
950: '#000000',
},
}SCSS
$custom: #9f8622; $custom-light: #bfa866; $custom-dark: #000000;
JSON
{
"hex": "#9f8622",
"rgb": {
"r": 159,
"g": 134,
"b": 34
},
"hsl": {
"h": 48,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.6258,
"c": 0.11688,
"h": 94.1
},
"luminance": 0.24537
}Semantic roles & 50–950 ramp
primary
#9F8622
secondary
#5B70C1
accent
#62E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A