#8A8F1D#8A8F1D
#8A8F1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.129 H 112.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F1D |
|---|---|
| RGB | rgb(138, 143, 29) |
| HSL | hsl(63, 66%, 34%) |
| HSV | hsv(63, 80%, 56%) |
| CMYK | cmyk(3.5%, 0%, 79.7%, 43.9%) |
| CIE-LAB | lab(57.21, -15.58, 54.92) |
| CIE-LCH | lch(57.21, 57.09, 105.83°) |
| OKLab | oklab(62.58% -0.0489 0.1197) |
| OKLCH | oklch(62.58% 0.129 112.2) |
| XYZ | xyz(20.5262, 25.1374, 4.9329) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.25
Baby Poop Green
#8F9805
ΔE00 3.46
Pea Soup
#929901
ΔE00 3.93
Swamp Green
#748500
ΔE00 5.39
Olive
#808000
ΔE00 5.40
Ugly Green
#7A9703
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F1D #221D8F
analogous
#8F5B1D #8A8F1D #518F1D
triadic
#8A8F1D #1D8A8F #8F1D8A
tetradic
#8A8F1D #1D8F5B #221D8F #8F1D51
square
#8A8F1D #1D8F5B #221D8F #8F1D51
split-complementary
#8A8F1D #1D518F #5B1D8F
monochromatic
#282908 #595C13 #8A8F1D #BBC227 #D4DB4C
Accessibility & contrast
On white
3.48
#8A8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#8A8F1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F1D
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F1D | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f1d; /* rgb */ color: rgb(138, 143, 29); /* oklch */ color: oklch(62.6% 0.129 112.2);
Tailwind
colors: {
custom: {
50: '#b0af64',
500: '#8a8f1d',
950: '#000000',
},
}SCSS
$custom: #8a8f1d; $custom-light: #b0af64; $custom-dark: #000000;
JSON
{
"hex": "#8a8f1d",
"rgb": {
"r": 138,
"g": 143,
"b": 29
},
"hsl": {
"h": 62.632,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.62578,
"c": 0.12929,
"h": 112.2
},
"luminance": 0.25137
}Semantic roles & 50–950 ramp
primary
#8A8F1D
secondary
#504BBD
accent
#3FE946
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A