#8A8F18#8A8F18
#8A8F18 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.132 H 112.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F18 |
|---|---|
| RGB | rgb(138, 143, 24) |
| HSL | hsl(63, 71%, 33%) |
| HSV | hsv(63, 83%, 56%) |
| CMYK | cmyk(3.5%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(57.19, -15.76, 56.36) |
| CIE-LCH | lch(57.19, 58.52, 105.62°) |
| OKLab | oklab(62.55% -0.0498 0.1218) |
| OKLCH | oklch(62.55% 0.132 112.2) |
| XYZ | xyz(20.4693, 25.1147, 4.6333) |
| Luminance | 0.2511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.27
Pea Soup
#929901
ΔE00 3.71
Olive
#808000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.39
Ugly Green
#7A9703
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F18 #1D188F
analogous
#8F5818 #8A8F18 #4E8F18
triadic
#8A8F18 #188A8F #8F188A
tetradic
#8A8F18 #188F58 #1D188F #8F184E
square
#8A8F18 #188F58 #1D188F #8F184E
split-complementary
#8A8F18 #184E8F #58188F
monochromatic
#252606 #575B0F #8A8F18 #BDC321 #D9DF42
Accessibility & contrast
On white
3.49
#8A8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8A8F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F18
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F18 | 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)
#9B8B24
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f18; /* rgb */ color: rgb(138, 143, 24); /* oklch */ color: oklch(62.6% 0.132 112.2);
Tailwind
colors: {
custom: {
50: '#b0af62',
500: '#8a8f18',
950: '#000000',
},
}SCSS
$custom: #8a8f18; $custom-light: #b0af62; $custom-dark: #000000;
JSON
{
"hex": "#8a8f18",
"rgb": {
"r": 138,
"g": 143,
"b": 24
},
"hsl": {
"h": 62.521,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.62553,
"c": 0.13161,
"h": 112.2
},
"luminance": 0.25114
}Semantic roles & 50–950 ramp
primary
#8A8F18
secondary
#4843C0
accent
#3AEE41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A