#8A8F1B#8A8F1B
#8A8F1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.130 H 112.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F1B |
|---|---|
| RGB | rgb(138, 143, 27) |
| HSL | hsl(63, 68%, 33%) |
| HSV | hsv(63, 81%, 56%) |
| CMYK | cmyk(3.5%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(57.20, -15.65, 55.52) |
| CIE-LCH | lch(57.20, 57.68, 105.74°) |
| OKLab | oklab(62.57% -0.0492 0.1206) |
| OKLCH | oklch(62.57% 0.13 112.2) |
| XYZ | xyz(20.5022, 25.1278, 4.8069) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.38
Pea Soup
#929901
ΔE00 3.83
Olive
#808000
ΔE00 5.38
Swamp Green
#748500
ΔE00 5.38
Ugly Green
#7A9703
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F1B #201B8F
analogous
#8F5A1B #8A8F1B #508F1B
triadic
#8A8F1B #1B8A8F #8F1B8A
tetradic
#8A8F1B #1B8F5A #201B8F #8F1B50
square
#8A8F1B #1B8F5A #201B8F #8F1B50
split-complementary
#8A8F1B #1B508F #5A1B8F
monochromatic
#272808 #585C11 #8A8F1B #BCC225 #D6DC48
Accessibility & contrast
On white
3.49
#8A8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#8A8F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F1B
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F1B | 1.00 | 3.49 | 6.03 | 6.03 |
| #FFFFFF | 3.49 | 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)
#9B8800
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f1b; /* rgb */ color: rgb(138, 143, 27); /* oklch */ color: oklch(62.6% 0.130 112.2);
Tailwind
colors: {
custom: {
50: '#b0af63',
500: '#8a8f1b',
950: '#000000',
},
}SCSS
$custom: #8a8f1b; $custom-light: #b0af63; $custom-dark: #000000;
JSON
{
"hex": "#8a8f1b",
"rgb": {
"r": 138,
"g": 143,
"b": 27
},
"hsl": {
"h": 62.586,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.62567,
"c": 0.13026,
"h": 112.2
},
"luminance": 0.25127
}Semantic roles & 50–950 ramp
primary
#8A8F1B
secondary
#4D48BE
accent
#3DEB44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A