#9F8D25#9F8D25
#9F8D25 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.120 H 98.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8D25 |
|---|---|
| RGB | rgb(159, 141, 37) |
| HSL | hsl(51, 62%, 38%) |
| HSV | hsv(51, 77%, 62%) |
| CMYK | cmyk(0%, 11.3%, 76.7%, 37.6%) |
| CIE-LAB | lab(58.56, -4.66, 54.16) |
| CIE-LCH | lch(58.56, 54.36, 94.92°) |
| OKLab | oklab(64.12% -0.0187 0.1187) |
| OKLCH | oklch(64.12% 0.12 98.9) |
| XYZ | xyz(24.1581, 26.5555, 5.6031) |
| Luminance | 0.2655 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.86
Baby Shit Brown
#AD900D
ΔE00 4.14
Dark Mustard
#A88905
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 4.42
Yellowy Brown
#AE8B0C
ΔE00 5.31
Brown Yellow
#B29705
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8D25 #25379F
analogous
#9F5025 #9F8D25 #749F25
triadic
#9F8D25 #259F8D #8D259F
tetradic
#9F8D25 #259F50 #25379F #9F2574
square
#9F8D25 #259F50 #25379F #9F2574
split-complementary
#9F8D25 #25749F #50259F
monochromatic
#3C350E #6D6119 #9F8D25 #CFB832 #DBC964
Accessibility & contrast
On white
3.33
#9F8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#9F8D25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8D25
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8D25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8D25 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#AC8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9f8d25; /* rgb */ color: rgb(159, 141, 37); /* oklch */ color: oklch(64.1% 0.120 98.9);
Tailwind
colors: {
custom: {
50: '#bfae68',
500: '#9f8d25',
950: '#000000',
},
}SCSS
$custom: #9f8d25; $custom-light: #bfae68; $custom-dark: #000000;
JSON
{
"hex": "#9f8d25",
"rgb": {
"r": 159,
"g": 141,
"b": 37
},
"hsl": {
"h": 51.148,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.6412,
"c": 0.1202,
"h": 98.9
},
"luminance": 0.26554
}Semantic roles & 50–950 ramp
primary
#9F8D25
secondary
#5F6EC0
accent
#5BE542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A