#9F8724#9F8724
#9F8724 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.116 H 94.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8724 |
|---|---|
| RGB | rgb(159, 135, 36) |
| HSL | hsl(48, 63%, 38%) |
| HSV | hsv(48, 77%, 62%) |
| CMYK | cmyk(0%, 15.1%, 77.4%, 37.6%) |
| CIE-LAB | lab(56.91, -1.41, 52.98) |
| CIE-LCH | lch(56.91, 53.00, 91.52°) |
| OKLab | oklab(62.81% -0.0096 0.116) |
| OKLCH | oklch(62.81% 0.116 94.7) |
| XYZ | xyz(23.2818, 24.8276, 5.2346) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.52
Dark Mustard
#A88905
ΔE00 3.21
Yellowy Brown
#AE8B0C
ΔE00 4.28
Baby Shit Brown
#AD900D
ΔE00 4.39
Baby Poo
#AB9004
ΔE00 4.40
Baby Poop
#937C00
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8724 #243C9F
analogous
#9F4A24 #9F8724 #799F24
triadic
#9F8724 #249F87 #87249F
tetradic
#9F8724 #249F4A #243C9F #9F2479
square
#9F8724 #249F4A #243C9F #9F2479
split-complementary
#9F8724 #24799F #4A249F
monochromatic
#3B320D #6D5D19 #9F8724 #D0B130 #DBC462
Accessibility & contrast
On white
3.52
#9F8724 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#9F8724 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8724
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8724 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8724 | 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)
#968411
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8724; /* rgb */ color: rgb(159, 135, 36); /* oklch */ color: oklch(62.8% 0.116 94.7);
Tailwind
colors: {
custom: {
50: '#bfa967',
500: '#9f8724',
950: '#000000',
},
}SCSS
$custom: #9f8724; $custom-light: #bfa967; $custom-dark: #000000;
JSON
{
"hex": "#9f8724",
"rgb": {
"r": 159,
"g": 135,
"b": 36
},
"hsl": {
"h": 48.293,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.62809,
"c": 0.1164,
"h": 94.7
},
"luminance": 0.24826
}Semantic roles & 50–950 ramp
primary
#9F8724
secondary
#5E71C1
accent
#62E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A