#8F8A1C#8F8A1C
#8F8A1C is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.124 H 106.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8A1C |
|---|---|
| RGB | rgb(143, 138, 28) |
| HSL | hsl(57, 67%, 34%) |
| HSV | hsv(57, 80%, 56%) |
| CMYK | cmyk(0%, 3.5%, 80.4%, 43.9%) |
| CIE-LAB | lab(56.19, -10.69, 54.49) |
| CIE-LCH | lch(56.19, 55.52, 101.10°) |
| OKLab | oklab(61.87% -0.0356 0.1183) |
| OKLCH | oklch(61.87% 0.124 106.8) |
| XYZ | xyz(20.6266, 24.1012, 4.6639) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.35
Baby Poop Green
#8F9805
ΔE00 5.58
Pea Soup
#929901
ΔE00 5.70
Baby Shit Green
#889717
ΔE00 6.12
Shit Green
#758000
ΔE00 6.56
Swamp Green
#748500
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8A1C #1C218F
analogous
#8F501C #8F8A1C #5A8F1C
triadic
#8F8A1C #1C8F8A #8A1C8F
tetradic
#8F8A1C #1C8F50 #1C218F #8F1C5A
square
#8F8A1C #1C8F50 #1C218F #8F1C5A
split-complementary
#8F8A1C #1C5A8F #501C8F
monochromatic
#292708 #5C5912 #8F8A1C #C2BB26 #DCD54A
Accessibility & contrast
On white
3.61
#8F8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8F8A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8A1C
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8A1C | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8a1c; /* rgb */ color: rgb(143, 138, 28); /* oklch */ color: oklch(61.9% 0.124 106.8);
Tailwind
colors: {
custom: {
50: '#b3ab63',
500: '#8f8a1c',
950: '#000000',
},
}SCSS
$custom: #8f8a1c; $custom-light: #b3ab63; $custom-dark: #000000;
JSON
{
"hex": "#8f8a1c",
"rgb": {
"r": 143,
"g": 138,
"b": 28
},
"hsl": {
"h": 57.391,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.61866,
"c": 0.12359,
"h": 106.8
},
"luminance": 0.241
}Semantic roles & 50–950 ramp
primary
#8F8A1C
secondary
#494EBE
accent
#45EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A