#127212#127212
#127212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.153 H 142.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #127212 |
|---|---|
| RGB | rgb(18, 114, 18) |
| HSL | hsl(120, 73%, 26%) |
| HSV | hsv(120, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.54, -44.87, 41.67) |
| CIE-LCH | lch(41.54, 61.24, 137.11°) |
| OKLab | oklab(48.14% -0.1218 0.0927) |
| OKLCH | oklch(48.14% 0.153 142.7) |
| XYZ | xyz(6.3755, 12.2061, 2.5922) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.54
Darkgreen
#006400
ΔE00 4.66
Green
#008000
ΔE00 5.14
Darkish Green
#287C37
ΔE00 5.74
Dark Grass Green
#388004
ΔE00 6.62
Deep Green
#02590F
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#127212 #721272
analogous
#427212 #127212 #127242
triadic
#127212 #121272 #721212
tetradic
#127212 #124272 #721272 #724212
square
#127212 #124272 #721272 #724212
split-complementary
#127212 #421272 #721242
monochromatic
#041A04 #0A3D0A #127212 #1AA71A #23DC23
Accessibility & contrast
On white
6.10
#127212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#127212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #127212
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##127212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##127212 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #127212; /* rgb */ color: rgb(18, 114, 18); /* oklch */ color: oklch(48.1% 0.153 142.7);
Tailwind
colors: {
custom: {
50: '#659c59',
500: '#127212',
950: '#000000',
},
}SCSS
$custom: #127212; $custom-light: #659c59; $custom-dark: #000000;
JSON
{
"hex": "#127212",
"rgb": {
"r": 18,
"g": 114,
"b": 18
},
"hsl": {
"h": 120,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48142,
"c": 0.15302,
"h": 142.7
},
"luminance": 0.12207
}Semantic roles & 50–950 ramp
primary
#127212
secondary
#A937A9
accent
#38EFEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79