#9F8328#9F8328
#9F8328 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.111 H 91.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8328 |
|---|---|
| RGB | rgb(159, 131, 40) |
| HSL | hsl(46, 60%, 39%) |
| HSV | hsv(46, 75%, 62%) |
| CMYK | cmyk(0%, 17.6%, 74.8%, 37.6%) |
| CIE-LAB | lab(55.84, 0.99, 50.43) |
| CIE-LCH | lch(55.84, 50.44, 88.87°) |
| OKLab | oklab(61.98% -0.0023 0.1114) |
| OKLCH | oklch(61.98% 0.111 91.2) |
| XYZ | xyz(22.7987, 23.7581, 5.3920) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.91
Yellowish Brown
#9B7A01
ΔE00 3.90
Dark Mustard
#A88905
ΔE00 4.00
Baby Poop
#937C00
ΔE00 4.27
Puke Brown
#947706
ΔE00 4.73
Yellowy Brown
#AE8B0C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8328 #28449F
analogous
#9F4828 #9F8328 #809F28
triadic
#9F8328 #289F83 #83289F
tetradic
#9F8328 #289F48 #28449F #9F2880
square
#9F8328 #289F48 #28449F #9F2880
split-complementary
#9F8328 #28809F #48289F
monochromatic
#3D320F #6E5B1C #9F8328 #CDAA37 #D9BF68
Accessibility & contrast
On white
3.65
#9F8328 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#9F8328 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8328
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8328 | 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)
#92811A
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#AC7871
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8328; /* rgb */ color: rgb(159, 131, 40); /* oklch */ color: oklch(62.0% 0.111 91.2);
Tailwind
colors: {
custom: {
50: '#bfa668',
500: '#9f8328',
950: '#000000',
},
}SCSS
$custom: #9f8328; $custom-light: #bfa668; $custom-dark: #000000;
JSON
{
"hex": "#9f8328",
"rgb": {
"r": 159,
"g": 131,
"b": 40
},
"hsl": {
"h": 45.882,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.61978,
"c": 0.11142,
"h": 91.2
},
"luminance": 0.23757
}Semantic roles & 50–950 ramp
primary
#9F8328
secondary
#6479BF
accent
#6AE345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A