#8F891D#8F891D
#8F891D is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.122 H 106.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8F891D |
|---|---|
| RGB | rgb(143, 137, 29) |
| HSL | hsl(57, 66%, 34%) |
| HSV | hsv(57, 80%, 56%) |
| CMYK | cmyk(0%, 4.2%, 79.7%, 43.9%) |
| CIE-LAB | lab(55.91, -10.11, 53.92) |
| CIE-LCH | lch(55.91, 54.86, 100.62°) |
| OKLab | oklab(61.64% -0.0339 0.1173) |
| OKLCH | oklch(61.64% 0.122 106.1) |
| XYZ | xyz(20.4960, 23.8204, 4.6803) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.22
Baby Poop Green
#8F9805
ΔE00 6.01
Pea Soup
#929901
ΔE00 6.12
Baby Poop
#937C00
ΔE00 6.48
Baby Shit Green
#889717
ΔE00 6.54
Shit Green
#758000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F891D #1D238F
analogous
#8F501D #8F891D #5C8F1D
triadic
#8F891D #1D8F89 #891D8F
tetradic
#8F891D #1D8F50 #1D238F #8F1D5C
square
#8F891D #1D8F50 #1D238F #8F1D5C
split-complementary
#8F891D #1D5C8F #501D8F
monochromatic
#292808 #5C5813 #8F891D #C2BA27 #DBD34C
Accessibility & contrast
On white
3.64
#8F891D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8F891D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F891D
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F891D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F891D | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958400
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f891d; /* rgb */ color: rgb(143, 137, 29); /* oklch */ color: oklch(61.6% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#b3ab63',
500: '#8f891d',
950: '#000000',
},
}SCSS
$custom: #8f891d; $custom-light: #b3ab63; $custom-dark: #000000;
JSON
{
"hex": "#8f891d",
"rgb": {
"r": 143,
"g": 137,
"b": 29
},
"hsl": {
"h": 56.842,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.61643,
"c": 0.12213,
"h": 106.1
},
"luminance": 0.2382
}Semantic roles & 50–950 ramp
primary
#8F891D
secondary
#4B51BD
accent
#48E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A