#9F9538#9F9538
#9F9538 is a light, moderate yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.114 H 103.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9538 |
|---|---|
| RGB | rgb(159, 149, 56) |
| HSL | hsl(54, 48%, 42%) |
| HSV | hsv(54, 65%, 62%) |
| CMYK | cmyk(0%, 6.3%, 64.8%, 37.6%) |
| CIE-LAB | lab(60.92, -7.96, 48.81) |
| CIE-LCH | lch(60.92, 49.45, 99.26°) |
| OKLab | oklab(66.03% -0.0259 0.1109) |
| OKLCH | oklch(66.03% 0.114 103.2) |
| XYZ | xyz(25.7603, 29.1523, 8.0107) |
| Luminance | 0.2915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.03
Dark Khaki
#9B8F55
ΔE00 6.20
Baby Poop Green
#8F9805
ΔE00 6.25
Baby Poo
#AB9004
ΔE00 6.41
Vomit
#A2A415
ΔE00 6.60
Baby Shit Brown
#AD900D
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9538 #38429F
analogous
#9F6238 #9F9538 #759F38
triadic
#9F9538 #389F95 #95389F
tetradic
#9F9538 #389F62 #38429F #9F3875
square
#9F9538 #389F62 #38429F #9F3875
split-complementary
#9F9538 #38759F #62389F
monochromatic
#444018 #726B28 #9F9538 #C2B752 #D2CA7F
Accessibility & contrast
On white
3.07
#9F9538 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#9F9538 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9538
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9538 | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2902D
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#AB8B82
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f9538; /* rgb */ color: rgb(159, 149, 56); /* oklch */ color: oklch(66.0% 0.114 103.2);
Tailwind
colors: {
custom: {
50: '#beb373',
500: '#9f9538',
950: '#000000',
},
}SCSS
$custom: #9f9538; $custom-light: #beb373; $custom-dark: #000000;
JSON
{
"hex": "#9f9538",
"rgb": {
"r": 159,
"g": 149,
"b": 56
},
"hsl": {
"h": 54.175,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.66033,
"c": 0.11385,
"h": 103.2
},
"luminance": 0.29151
}Semantic roles & 50–950 ramp
primary
#9F9538
secondary
#777EBB
accent
#5DD750
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B