#9F8924#9F8924
#9F8924 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.118 H 96.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8924 |
|---|---|
| RGB | rgb(159, 137, 36) |
| HSL | hsl(49, 63%, 38%) |
| HSV | hsv(49, 77%, 62%) |
| CMYK | cmyk(0%, 13.8%, 77.4%, 37.6%) |
| CIE-LAB | lab(57.45, -2.51, 53.49) |
| CIE-LCH | lch(57.45, 53.55, 92.69°) |
| OKLab | oklab(63.24% -0.0127 0.1171) |
| OKLCH | oklch(63.24% 0.118 96.2) |
| XYZ | xyz(23.5634, 25.3909, 5.3285) |
| Luminance | 0.2539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.02
Dark Mustard
#A88905
ΔE00 3.37
Baby Poo
#AB9004
ΔE00 4.01
Baby Shit Brown
#AD900D
ΔE00 4.11
Yellowy Brown
#AE8B0C
ΔE00 4.47
Baby Poop
#937C00
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8924 #243A9F
analogous
#9F4B24 #9F8924 #779F24
triadic
#9F8924 #249F89 #89249F
tetradic
#9F8924 #249F4B #243A9F #9F2477
square
#9F8924 #249F4B #243A9F #9F2477
split-complementary
#9F8924 #24779F #4B249F
monochromatic
#3B330D #6D5E19 #9F8924 #D0B430 #DBC662
Accessibility & contrast
On white
3.46
#9F8924 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8924 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8924
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8924 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8924 | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8924; /* rgb */ color: rgb(159, 137, 36); /* oklch */ color: oklch(63.2% 0.118 96.2);
Tailwind
colors: {
custom: {
50: '#bfab67',
500: '#9f8924',
950: '#000000',
},
}SCSS
$custom: #9f8924; $custom-light: #bfab67; $custom-dark: #000000;
JSON
{
"hex": "#9f8924",
"rgb": {
"r": 159,
"g": 137,
"b": 36
},
"hsl": {
"h": 49.268,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.63242,
"c": 0.11779,
"h": 96.2
},
"luminance": 0.2539
}Semantic roles & 50–950 ramp
primary
#9F8924
secondary
#5E70C1
accent
#5FE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A