#127215#127215
#127215 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.152 H 143.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #127215 |
|---|---|
| RGB | rgb(18, 114, 21) |
| HSL | hsl(122, 73%, 26%) |
| HSV | hsv(122, 84%, 45%) |
| CMYK | cmyk(84.2%, 0%, 81.6%, 55.3%) |
| CIE-LAB | lab(41.56, -44.66, 40.70) |
| CIE-LCH | lch(41.56, 60.43, 137.66°) |
| OKLab | oklab(48.16% -0.1211 0.0911) |
| OKLCH | oklch(48.16% 0.152 143.1) |
| XYZ | xyz(6.4017, 12.2166, 2.7300) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.61
Darkgreen
#006400
ΔE00 4.70
Green
#008000
ΔE00 5.27
Darkish Green
#287C37
ΔE00 5.49
Dark Grass Green
#388004
ΔE00 6.79
Deep Green
#02590F
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#127215 #72126F
analogous
#3F7212 #127215 #127245
triadic
#127215 #151272 #721512
tetradic
#127215 #123F72 #72126F #724512
square
#127215 #123F72 #72126F #724512
split-complementary
#127215 #451272 #72123F
monochromatic
#041A05 #0A3D0B #127215 #1AA71F #23DC28
Accessibility & contrast
On white
6.10
#127215 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#127215 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #127215
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##127215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##127215 | 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)
#6A5F20
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #127215; /* rgb */ color: rgb(18, 114, 21); /* oklch */ color: oklch(48.2% 0.152 143.1);
Tailwind
colors: {
custom: {
50: '#659c5a',
500: '#127215',
950: '#000000',
},
}SCSS
$custom: #127215; $custom-light: #659c5a; $custom-dark: #000000;
JSON
{
"hex": "#127215",
"rgb": {
"r": 18,
"g": 114,
"b": 21
},
"hsl": {
"h": 121.875,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48161,
"c": 0.15151,
"h": 143.1
},
"luminance": 0.12217
}Semantic roles & 50–950 ramp
primary
#127215
secondary
#A937A5
accent
#38EAEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79