#8A8C1B#8A8C1B
#8A8C1B is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.127 H 110.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8C1B |
|---|---|
| RGB | rgb(138, 140, 27) |
| HSL | hsl(61, 68%, 33%) |
| HSV | hsv(61, 81%, 55%) |
| CMYK | cmyk(1.4%, 0%, 80.7%, 45.1%) |
| CIE-LAB | lab(56.33, -14.07, 54.75) |
| CIE-LCH | lch(56.33, 56.53, 104.41°) |
| OKLab | oklab(61.87% -0.0449 0.1189) |
| OKLCH | oklch(61.87% 0.127 110.7) |
| XYZ | xyz(20.0579, 24.2391, 4.6587) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.38
Baby Shit Green
#889717
ΔE00 4.40
Olive
#808000
ΔE00 4.40
Pea Soup
#929901
ΔE00 4.74
Swamp Green
#748500
ΔE00 5.27
Shit Green
#758000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8C1B #1D1B8C
analogous
#8C551B #8A8C1B #518C1B
triadic
#8A8C1B #1B8A8C #8C1B8A
tetradic
#8A8C1B #1B8C55 #1D1B8C #8C1B51
square
#8A8C1B #1B8C55 #1D1B8C #8C1B51
split-complementary
#8A8C1B #1B518C #551B8C
monochromatic
#252507 #575911 #8A8C1B #BDBF25 #D9DB46
Accessibility & contrast
On white
3.59
#8A8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8A8C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8C1B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8C1B | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#998825
Tritanopia (blue-blind)
#948377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8c1b; /* rgb */ color: rgb(138, 140, 27); /* oklch */ color: oklch(61.9% 0.127 110.7);
Tailwind
colors: {
custom: {
50: '#b0ad63',
500: '#8a8c1b',
950: '#000000',
},
}SCSS
$custom: #8a8c1b; $custom-light: #b0ad63; $custom-dark: #000000;
JSON
{
"hex": "#8a8c1b",
"rgb": {
"r": 138,
"g": 140,
"b": 27
},
"hsl": {
"h": 61.062,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.61868,
"c": 0.12711,
"h": 110.7
},
"luminance": 0.24239
}Semantic roles & 50–950 ramp
primary
#8A8C1B
secondary
#4846BD
accent
#3DEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A