#9D8F26#9D8F26
#9D8F26 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.121 H 101.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8F26 |
|---|---|
| RGB | rgb(157, 143, 38) |
| HSL | hsl(53, 61%, 38%) |
| HSV | hsv(53, 76%, 62%) |
| CMYK | cmyk(0%, 8.9%, 75.8%, 38.4%) |
| CIE-LAB | lab(58.93, -6.61, 54.08) |
| CIE-LCH | lch(58.93, 54.48, 96.97°) |
| OKLab | oklab(64.37% -0.024 0.1189) |
| OKLCH | oklch(64.37% 0.121 101.4) |
| XYZ | xyz(24.0781, 26.9541, 5.7677) |
| Luminance | 0.2695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.64
Baby Shit Brown
#AD900D
ΔE00 5.02
Dark Mustard
#A88905
ΔE00 5.49
Diarrhea
#9F8303
ΔE00 5.58
Brown Yellow
#B29705
ΔE00 5.78
Pea Soup
#929901
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8F26 #26349D
analogous
#9D5326 #9D8F26 #6F9D26
triadic
#9D8F26 #269D8F #8F269D
tetradic
#9D8F26 #269D53 #26349D #9D266F
square
#9D8F26 #269D53 #26349D #9D266F
split-complementary
#9D8F26 #266F9D #53269D
monochromatic
#3A350E #6C621A #9D8F26 #CEBB33 #D9CC64
Accessibility & contrast
On white
3.29
#9D8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#9D8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8F26
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8F26 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B12
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A9847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9d8f26; /* rgb */ color: rgb(157, 143, 38); /* oklch */ color: oklch(64.4% 0.121 101.4);
Tailwind
colors: {
custom: {
50: '#beaf69',
500: '#9d8f26',
950: '#000000',
},
}SCSS
$custom: #9d8f26; $custom-light: #beaf69; $custom-dark: #000000;
JSON
{
"hex": "#9d8f26",
"rgb": {
"r": 157,
"g": 143,
"b": 38
},
"hsl": {
"h": 52.941,
"s": 61.026,
"l": 38.235
},
"oklch": {
"l": 0.64372,
"c": 0.12125,
"h": 101.4
},
"luminance": 0.26953
}Semantic roles & 50–950 ramp
primary
#9D8F26
secondary
#606BBF
accent
#57E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A