#9F8925#9F8925
#9F8925 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.117 H 96.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8925 |
|---|---|
| RGB | rgb(159, 137, 37) |
| HSL | hsl(49, 62%, 38%) |
| HSV | hsv(49, 77%, 62%) |
| CMYK | cmyk(0%, 13.8%, 76.7%, 37.6%) |
| CIE-LAB | lab(57.46, -2.47, 53.13) |
| CIE-LCH | lch(57.46, 53.19, 92.66°) |
| OKLab | oklab(63.25% -0.0125 0.1165) |
| OKLCH | oklch(63.25% 0.117 96.1) |
| XYZ | xyz(23.5789, 25.3971, 5.4101) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.08
Dark Mustard
#A88905
ΔE00 3.43
Baby Poo
#AB9004
ΔE00 4.08
Baby Shit Brown
#AD900D
ΔE00 4.16
Yellowy Brown
#AE8B0C
ΔE00 4.51
Baby Poop
#937C00
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8925 #253B9F
analogous
#9F4C25 #9F8925 #789F25
triadic
#9F8925 #259F89 #89259F
tetradic
#9F8925 #259F4C #253B9F #9F2578
square
#9F8925 #259F4C #253B9F #9F2578
split-complementary
#9F8925 #25789F #4C259F
monochromatic
#3C330E #6D5E19 #9F8925 #CFB332 #DBC564
Accessibility & contrast
On white
3.45
#9F8925 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8925 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8925
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8925 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8925 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 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)
#988612
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8925; /* rgb */ color: rgb(159, 137, 37); /* oklch */ color: oklch(63.2% 0.117 96.1);
Tailwind
colors: {
custom: {
50: '#bfab67',
500: '#9f8925',
950: '#000000',
},
}SCSS
$custom: #9f8925; $custom-light: #bfab67; $custom-dark: #000000;
JSON
{
"hex": "#9f8925",
"rgb": {
"r": 159,
"g": 137,
"b": 37
},
"hsl": {
"h": 49.18,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.63248,
"c": 0.11721,
"h": 96.1
},
"luminance": 0.25396
}Semantic roles & 50–950 ramp
primary
#9F8925
secondary
#5F71C0
accent
#60E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A