#9F8327#9F8327
#9F8327 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 62.0% C 0.112 H 91.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8327 |
|---|---|
| RGB | rgb(159, 131, 39) |
| HSL | hsl(46, 61%, 39%) |
| HSV | hsv(46, 75%, 62%) |
| CMYK | cmyk(0%, 17.6%, 75.5%, 37.6%) |
| CIE-LAB | lab(55.84, 0.94, 50.82) |
| CIE-LCH | lch(55.84, 50.83, 88.94°) |
| OKLab | oklab(61.97% -0.0025 0.112) |
| OKLCH | oklch(61.97% 0.112 91.3) |
| XYZ | xyz(22.7819, 23.7514, 5.3036) |
| Luminance | 0.2375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.79
Yellowish Brown
#9B7A01
ΔE00 3.84
Dark Mustard
#A88905
ΔE00 3.91
Baby Poop
#937C00
ΔE00 4.20
Yellowy Brown
#AE8B0C
ΔE00 4.67
Puke Brown
#947706
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8327 #27439F
analogous
#9F4727 #9F8327 #7F9F27
triadic
#9F8327 #279F83 #83279F
tetradic
#9F8327 #279F47 #27439F #9F277F
square
#9F8327 #279F47 #27439F #9F277F
split-complementary
#9F8327 #277F9F #47279F
monochromatic
#3D320F #6E5B1B #9F8327 #CEAA36 #DABF67
Accessibility & contrast
On white
3.65
#9F8327 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#9F8327 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8327
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8327 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#AC7871
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8327; /* rgb */ color: rgb(159, 131, 39); /* oklch */ color: oklch(62.0% 0.112 91.3);
Tailwind
colors: {
custom: {
50: '#bfa668',
500: '#9f8327',
950: '#000000',
},
}SCSS
$custom: #9f8327; $custom-light: #bfa668; $custom-dark: #000000;
JSON
{
"hex": "#9f8327",
"rgb": {
"r": 159,
"g": 131,
"b": 39
},
"hsl": {
"h": 46,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.6197,
"c": 0.11206,
"h": 91.3
},
"luminance": 0.2375
}Semantic roles & 50–950 ramp
primary
#9F8327
secondary
#6278C0
accent
#69E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A