#8F8737#8F8737
#8F8737 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.102 H 103.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8737 |
|---|---|
| RGB | rgb(143, 135, 55) |
| HSL | hsl(55, 44%, 39%) |
| HSV | hsv(55, 62%, 56%) |
| CMYK | cmyk(0%, 5.6%, 61.5%, 43.9%) |
| CIE-LAB | lab(55.53, -7.57, 43.01) |
| CIE-LCH | lch(55.53, 43.67, 99.98°) |
| OKLab | oklab(61.4% -0.0239 0.0988) |
| OKLCH | oklch(61.4% 0.102 103.6) |
| XYZ | xyz(20.6820, 23.4442, 7.0494) |
| Luminance | 0.2344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.81
Dark Khaki
#9B8F55
ΔE00 5.48
Olive
#808000
ΔE00 5.87
Baby Poop
#937C00
ΔE00 7.07
Diarrhea
#9F8303
ΔE00 7.69
Hazel
#8E7618
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8737 #373F8F
analogous
#8F5B37 #8F8737 #6B8F37
triadic
#8F8737 #378F87 #87378F
tetradic
#8F8737 #378F5B #373F8F #8F376B
square
#8F8737 #378F5B #373F8F #8F376B
split-complementary
#8F8737 #376B8F #5B378F
monochromatic
#373415 #635D26 #8F8737 #B9AF4A #CAC376
Accessibility & contrast
On white
3.69
#8F8737 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#8F8737 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8737
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8737 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8737 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92832E
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#997E76
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8737; /* rgb */ color: rgb(143, 135, 55); /* oklch */ color: oklch(61.4% 0.102 103.6);
Tailwind
colors: {
custom: {
50: '#b2a971',
500: '#8f8737',
950: '#000000',
},
}SCSS
$custom: #8f8737; $custom-light: #b2a971; $custom-dark: #000000;
JSON
{
"hex": "#8f8737",
"rgb": {
"r": 143,
"g": 135,
"b": 55
},
"hsl": {
"h": 54.545,
"s": 44.444,
"l": 38.824
},
"oklch": {
"l": 0.61401,
"c": 0.10169,
"h": 103.6
},
"luminance": 0.23443
}Semantic roles & 50–950 ramp
primary
#8F8737
secondary
#6F75B3
accent
#5FD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B