#8A8F13#8A8F13
#8A8F13 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.134 H 112.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F13 |
|---|---|
| RGB | rgb(138, 143, 19) |
| HSL | hsl(62, 77%, 32%) |
| HSV | hsv(62, 87%, 56%) |
| CMYK | cmyk(3.5%, 0%, 86.7%, 43.9%) |
| CIE-LAB | lab(57.17, -15.91, 57.60) |
| CIE-LCH | lch(57.17, 59.76, 105.44°) |
| OKLab | oklab(62.53% -0.0505 0.1237) |
| OKLCH | oklch(62.53% 0.134 112.2) |
| XYZ | xyz(20.4220, 25.0957, 4.3842) |
| Luminance | 0.2510 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.13
Baby Shit Green
#889717
ΔE00 3.25
Pea Soup
#929901
ΔE00 3.56
Olive
#808000
ΔE00 5.31
Swamp Green
#748500
ΔE00 5.42
Ugly Green
#7A9703
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F13 #18138F
analogous
#8F5613 #8A8F13 #4C8F13
triadic
#8A8F13 #138A8F #8F138A
tetradic
#8A8F13 #138F56 #18138F #8F134C
square
#8A8F13 #138F56 #18138F #8F134C
split-complementary
#8A8F13 #134C8F #56138F
monochromatic
#222305 #56590C #8A8F13 #BEC51A #DEE538
Accessibility & contrast
On white
3.49
#8A8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8A8F13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F13
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F13 | 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)
#9B8B21
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f13; /* rgb */ color: rgb(138, 143, 19); /* oklch */ color: oklch(62.5% 0.134 112.2);
Tailwind
colors: {
custom: {
50: '#b0af60',
500: '#8a8f13',
950: '#000000',
},
}SCSS
$custom: #8a8f13; $custom-light: #b0af60; $custom-dark: #000000;
JSON
{
"hex": "#8a8f13",
"rgb": {
"r": 138,
"g": 143,
"b": 19
},
"hsl": {
"h": 62.419,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.62533,
"c": 0.13357,
"h": 112.2
},
"luminance": 0.25095
}Semantic roles & 50–950 ramp
primary
#8A8F13
secondary
#403BC3
accent
#35F33C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A