#9F8D30#9F8D30
#9F8D30 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.113 H 98.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8D30 |
|---|---|
| RGB | rgb(159, 141, 48) |
| HSL | hsl(50, 54%, 41%) |
| HSV | hsv(50, 70%, 62%) |
| CMYK | cmyk(0%, 11.3%, 69.8%, 37.6%) |
| CIE-LAB | lab(58.64, -4.11, 49.90) |
| CIE-LCH | lch(58.64, 50.07, 94.71°) |
| OKLab | oklab(64.2% -0.0159 0.1118) |
| OKLCH | oklch(64.2% 0.113 98.1) |
| XYZ | xyz(24.3576, 26.6353, 6.6539) |
| Luminance | 0.2663 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.72
Baby Shit Brown
#AD900D
ΔE00 4.84
Dark Mustard
#A88905
ΔE00 4.90
Diarrhea
#9F8303
ΔE00 4.94
Yellowy Brown
#AE8B0C
ΔE00 5.74
Brown Yellow
#B29705
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8D30 #30429F
analogous
#9F5530 #9F8D30 #799F30
triadic
#9F8D30 #309F8D #8D309F
tetradic
#9F8D30 #309F55 #30429F #9F3079
square
#9F8D30 #309F55 #30429F #9F3079
split-complementary
#9F8D30 #30799F #55309F
monochromatic
#413A14 #706322 #9F8D30 #C7B245 #D5C574
Accessibility & contrast
On white
3.32
#9F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#9F8D30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8D30
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8D30 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#AB837A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9f8d30; /* rgb */ color: rgb(159, 141, 48); /* oklch */ color: oklch(64.2% 0.113 98.1);
Tailwind
colors: {
custom: {
50: '#bfae6e',
500: '#9f8d30',
950: '#000000',
},
}SCSS
$custom: #9f8d30; $custom-light: #bfae6e; $custom-dark: #000000;
JSON
{
"hex": "#9f8d30",
"rgb": {
"r": 159,
"g": 141,
"b": 48
},
"hsl": {
"h": 50.27,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.64203,
"c": 0.11296,
"h": 98.1
},
"luminance": 0.26634
}Semantic roles & 50–950 ramp
primary
#9F8D30
secondary
#6E7BBD
accent
#63DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A