#8C8F12#8C8F12
#8C8F12 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.133 H 111.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8F12 |
|---|---|
| RGB | rgb(140, 143, 18) |
| HSL | hsl(61, 78%, 32%) |
| HSV | hsv(61, 87%, 56%) |
| CMYK | cmyk(2.1%, 0%, 87.4%, 43.9%) |
| CIE-LAB | lab(57.33, -15.03, 58.03) |
| CIE-LCH | lch(57.33, 59.95, 104.52°) |
| OKLab | oklab(62.7% -0.0482 0.1243) |
| OKLCH | oklch(62.7% 0.133 111.2) |
| XYZ | xyz(20.7476, 25.2646, 4.3558) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.16
Pea Soup
#929901
ΔE00 3.48
Baby Shit Green
#889717
ΔE00 3.62
Olive
#808000
ΔE00 5.33
Swamp Green
#748500
ΔE00 5.87
Ugly Green
#7A9703
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8F12 #15128F
analogous
#8F5412 #8C8F12 #4E8F12
triadic
#8C8F12 #128C8F #8F128C
tetradic
#8C8F12 #128F54 #15128F #8F124E
square
#8C8F12 #128F54 #15128F #8F124E
split-complementary
#8C8F12 #124E8F #54128F
monochromatic
#222204 #57590B #8C8F12 #C1C519 #E1E636
Accessibility & contrast
On white
3.47
#8C8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#8C8F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8F12
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8F12 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B20
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8f12; /* rgb */ color: rgb(140, 143, 18); /* oklch */ color: oklch(62.7% 0.133 111.2);
Tailwind
colors: {
custom: {
50: '#b1af60',
500: '#8c8f12',
950: '#000000',
},
}SCSS
$custom: #8c8f12; $custom-light: #b1af60; $custom-dark: #000000;
JSON
{
"hex": "#8c8f12",
"rgb": {
"r": 140,
"g": 143,
"b": 18
},
"hsl": {
"h": 61.44,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.62704,
"c": 0.13335,
"h": 111.2
},
"luminance": 0.25264
}Semantic roles & 50–950 ramp
primary
#8C8F12
secondary
#3D3AC3
accent
#34F438
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A