#468C12#468C12
#468C12 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.163 H 136.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #468C12 |
|---|---|
| RGB | rgb(70, 140, 18) |
| HSL | hsl(94, 77%, 31%) |
| HSV | hsv(94, 87%, 55%) |
| CMYK | cmyk(50%, 0%, 87.1%, 45.1%) |
| CIE-LAB | lab(51.95, -41.97, 51.69) |
| CIE-LCH | lch(51.95, 66.58, 129.08°) |
| OKLab | oklab(57.19% -0.1172 0.113) |
| OKLCH | oklch(57.19% 0.163 136) |
| XYZ | xyz(12.0127, 20.1011, 3.8191) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.55
Forestgreen (CSS)
#228B22
ΔE00 4.57
Dark Grass Green
#388004
ΔE00 4.62
Mossy Green
#638B27
ΔE00 4.63
True Green
#089404
ΔE00 4.79
Avocado
#568203
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#468C12 #58128C
analogous
#838C12 #468C12 #128C1B
triadic
#468C12 #12468C #8C1246
tetradic
#468C12 #12838C #58128C #8C1B12
square
#468C12 #12838C #58128C #8C1B12
split-complementary
#468C12 #1B128C #8C1283
monochromatic
#102004 #2B560B #468C12 #61C219 #7FE534
Accessibility & contrast
On white
4.18
#468C12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#468C12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #468C12
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##468C12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##468C12 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #468c12; /* rgb */ color: rgb(70, 140, 18); /* oklch */ color: oklch(57.2% 0.163 136.0);
Tailwind
colors: {
custom: {
50: '#81ae5e',
500: '#468c12',
950: '#000000',
},
}SCSS
$custom: #468c12; $custom-light: #81ae5e; $custom-dark: #000000;
JSON
{
"hex": "#468c12",
"rgb": {
"r": 70,
"g": 140,
"b": 18
},
"hsl": {
"h": 94.426,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.57189,
"c": 0.16285,
"h": 136
},
"luminance": 0.20102
}Semantic roles & 50–950 ramp
primary
#468C12
secondary
#8739C0
accent
#34F4A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79