#9F8728#9F8728
#9F8728 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.8% C 0.114 H 94.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8728 |
|---|---|
| RGB | rgb(159, 135, 40) |
| HSL | hsl(48, 60%, 39%) |
| HSV | hsv(48, 75%, 62%) |
| CMYK | cmyk(0%, 15.1%, 74.8%, 37.6%) |
| CIE-LAB | lab(56.93, -1.23, 51.48) |
| CIE-LCH | lch(56.93, 51.50, 91.37°) |
| OKLab | oklab(62.84% -0.0086 0.1137) |
| OKLCH | oklch(62.84% 0.114 94.3) |
| XYZ | xyz(23.3463, 24.8534, 5.5746) |
| Luminance | 0.2485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.87
Dark Mustard
#A88905
ΔE00 3.52
Yellowy Brown
#AE8B0C
ΔE00 4.49
Baby Poop
#937C00
ΔE00 4.60
Baby Shit Brown
#AD900D
ΔE00 4.65
Baby Poo
#AB9004
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8728 #28409F
analogous
#9F4C28 #9F8728 #7C9F28
triadic
#9F8728 #289F87 #87289F
tetradic
#9F8728 #289F4C #28409F #9F287C
square
#9F8728 #289F4C #28409F #9F287C
split-complementary
#9F8728 #287C9F #4C289F
monochromatic
#3D340F #6E5D1C #9F8728 #CDAF37 #D9C268
Accessibility & contrast
On white
3.52
#9F8728 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#9F8728 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8728
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8728 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968418
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8728; /* rgb */ color: rgb(159, 135, 40); /* oklch */ color: oklch(62.8% 0.114 94.3);
Tailwind
colors: {
custom: {
50: '#bfa969',
500: '#9f8728',
950: '#000000',
},
}SCSS
$custom: #9f8728; $custom-light: #bfa969; $custom-dark: #000000;
JSON
{
"hex": "#9f8728",
"rgb": {
"r": 159,
"g": 135,
"b": 40
},
"hsl": {
"h": 47.899,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.62837,
"c": 0.11398,
"h": 94.3
},
"luminance": 0.24852
}Semantic roles & 50–950 ramp
primary
#9F8728
secondary
#6476BF
accent
#65E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A