#9F8923#9F8923
#9F8923 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.118 H 96.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8923 |
|---|---|
| RGB | rgb(159, 137, 35) |
| HSL | hsl(49, 64%, 38%) |
| HSV | hsv(49, 78%, 62%) |
| CMYK | cmyk(0%, 13.8%, 78%, 37.6%) |
| CIE-LAB | lab(57.45, -2.55, 53.84) |
| CIE-LCH | lch(57.45, 53.91, 92.72°) |
| OKLab | oklab(63.24% -0.0129 0.1177) |
| OKLCH | oklch(63.24% 0.118 96.3) |
| XYZ | xyz(23.5484, 25.3849, 5.2492) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.96
Dark Mustard
#A88905
ΔE00 3.31
Baby Poo
#AB9004
ΔE00 3.95
Baby Shit Brown
#AD900D
ΔE00 4.05
Yellowy Brown
#AE8B0C
ΔE00 4.44
Baby Poop
#937C00
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8923 #23399F
analogous
#9F4B23 #9F8923 #779F23
triadic
#9F8923 #239F89 #89239F
tetradic
#9F8923 #239F4B #23399F #9F2377
square
#9F8923 #239F4B #23399F #9F2377
split-complementary
#9F8923 #23779F #4B239F
monochromatic
#3B330D #6D5E18 #9F8923 #D1B42E #DCC660
Accessibility & contrast
On white
3.46
#9F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8923 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8923
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8923 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8923 | 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)
#98860E
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8923; /* rgb */ color: rgb(159, 137, 35); /* oklch */ color: oklch(63.2% 0.118 96.3);
Tailwind
colors: {
custom: {
50: '#bfab66',
500: '#9f8923',
950: '#000000',
},
}SCSS
$custom: #9f8923; $custom-light: #bfab66; $custom-dark: #000000;
JSON
{
"hex": "#9f8923",
"rgb": {
"r": 159,
"g": 137,
"b": 35
},
"hsl": {
"h": 49.355,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.63235,
"c": 0.11836,
"h": 96.3
},
"luminance": 0.25384
}Semantic roles & 50–950 ramp
primary
#9F8923
secondary
#5D6FC1
accent
#5EE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A