#9F8E25#9F8E25
#9F8E25 is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.121 H 99.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8E25 |
|---|---|
| RGB | rgb(159, 142, 37) |
| HSL | hsl(52, 62%, 38%) |
| HSV | hsv(52, 77%, 62%) |
| CMYK | cmyk(0%, 10.7%, 76.7%, 37.6%) |
| CIE-LAB | lab(58.84, -5.20, 54.42) |
| CIE-LCH | lch(58.84, 54.67, 95.46°) |
| OKLab | oklab(64.34% -0.0202 0.1193) |
| OKLCH | oklch(64.34% 0.121 99.6) |
| XYZ | xyz(24.3062, 26.8517, 5.6525) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.93
Baby Shit Brown
#AD900D
ΔE00 4.25
Dark Mustard
#A88905
ΔE00 4.60
Diarrhea
#9F8303
ΔE00 4.79
Brown Yellow
#B29705
ΔE00 5.31
Yellowy Brown
#AE8B0C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8E25 #25369F
analogous
#9F5125 #9F8E25 #739F25
triadic
#9F8E25 #259F8E #8E259F
tetradic
#9F8E25 #259F51 #25369F #9F2573
square
#9F8E25 #259F51 #25369F #9F2573
split-complementary
#9F8E25 #25739F #51259F
monochromatic
#3C350E #6D6219 #9F8E25 #CFB932 #DBCA64
Accessibility & contrast
On white
3.30
#9F8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9F8E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8E25
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8E25 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#AC837A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9f8e25; /* rgb */ color: rgb(159, 142, 37); /* oklch */ color: oklch(64.3% 0.121 99.6);
Tailwind
colors: {
custom: {
50: '#bfae68',
500: '#9f8e25',
950: '#000000',
},
}SCSS
$custom: #9f8e25; $custom-light: #bfae68; $custom-dark: #000000;
JSON
{
"hex": "#9f8e25",
"rgb": {
"r": 159,
"g": 142,
"b": 37
},
"hsl": {
"h": 51.639,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.64339,
"c": 0.12099,
"h": 99.6
},
"luminance": 0.26851
}Semantic roles & 50–950 ramp
primary
#9F8E25
secondary
#5F6DC0
accent
#59E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A