#8A8F19#8A8F19
#8A8F19 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.131 H 112.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F19 |
|---|---|
| RGB | rgb(138, 143, 25) |
| HSL | hsl(63, 70%, 33%) |
| HSV | hsv(63, 83%, 56%) |
| CMYK | cmyk(3.5%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(57.19, -15.72, 56.09) |
| CIE-LCH | lch(57.19, 58.25, 105.66°) |
| OKLab | oklab(62.56% -0.0496 0.1214) |
| OKLCH | oklch(62.56% 0.131 112.2) |
| XYZ | xyz(20.4799, 25.1189, 4.6891) |
| Luminance | 0.2512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.30
Pea Soup
#929901
ΔE00 3.75
Olive
#808000
ΔE00 5.35
Swamp Green
#748500
ΔE00 5.39
Ugly Green
#7A9703
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F19 #1E198F
analogous
#8F5919 #8A8F19 #4F8F19
triadic
#8A8F19 #198A8F #8F198A
tetradic
#8A8F19 #198F59 #1E198F #8F194F
square
#8A8F19 #198F59 #1E198F #8F194F
split-complementary
#8A8F19 #194F8F #59198F
monochromatic
#252707 #585B10 #8A8F19 #BCC322 #D8DE44
Accessibility & contrast
On white
3.49
#8A8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8A8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F19
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F19 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f19; /* rgb */ color: rgb(138, 143, 25); /* oklch */ color: oklch(62.6% 0.131 112.2);
Tailwind
colors: {
custom: {
50: '#b0af62',
500: '#8a8f19',
950: '#000000',
},
}SCSS
$custom: #8a8f19; $custom-light: #b0af62; $custom-dark: #000000;
JSON
{
"hex": "#8a8f19",
"rgb": {
"r": 138,
"g": 143,
"b": 25
},
"hsl": {
"h": 62.542,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.62558,
"c": 0.13117,
"h": 112.2
},
"luminance": 0.25118
}Semantic roles & 50–950 ramp
primary
#8A8F19
secondary
#4A44BF
accent
#3BED42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A