#8A8A1B#8A8A1B
#8A8A1B is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.4% C 0.125 H 109.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A1B |
|---|---|
| RGB | rgb(138, 138, 27) |
| HSL | hsl(60, 67%, 32%) |
| HSV | hsv(60, 80%, 54%) |
| CMYK | cmyk(0%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(55.75, -13.01, 54.23) |
| CIE-LCH | lch(55.75, 55.77, 103.49°) |
| OKLab | oklab(61.4% -0.0419 0.1178) |
| OKLCH | oklch(61.4% 0.125 109.6) |
| XYZ | xyz(19.7683, 23.6600, 4.5622) |
| Luminance | 0.2366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.82
Baby Poop Green
#8F9805
ΔE00 5.11
Baby Shit Green
#889717
ΔE00 5.20
Swamp Green
#748500
ΔE00 5.35
Shit Green
#758000
ΔE00 5.41
Pea Soup
#929901
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A1B #1B1B8A
analogous
#8A531B #8A8A1B #538A1B
triadic
#8A8A1B #1B8A8A #8A1B8A
tetradic
#8A8A1B #1B8A53 #1B1B8A #8A1B53
square
#8A8A1B #1B8A53 #1B1B8A #8A1B53
split-complementary
#8A8A1B #1B538A #531B8A
monochromatic
#242407 #575711 #8A8A1B #BDBD25 #DBDB45
Accessibility & contrast
On white
3.66
#8A8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#8A8A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A1B
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A1B | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#948176
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a1b; /* rgb */ color: rgb(138, 138, 27); /* oklch */ color: oklch(61.4% 0.125 109.6);
Tailwind
colors: {
custom: {
50: '#b0ab62',
500: '#8a8a1b',
950: '#000000',
},
}SCSS
$custom: #8a8a1b; $custom-light: #b0ab62; $custom-dark: #000000;
JSON
{
"hex": "#8a8a1b",
"rgb": {
"r": 138,
"g": 138,
"b": 27
},
"hsl": {
"h": 60,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.61404,
"c": 0.12506,
"h": 109.6
},
"luminance": 0.23659
}Semantic roles & 50–950 ramp
primary
#8A8A1B
secondary
#4545BC
accent
#3EEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A