#126E27#126E27
#126E27 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.134 H 146.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #126E27 |
|---|---|
| RGB | rgb(18, 110, 39) |
| HSL | hsl(134, 72%, 25%) |
| HSV | hsv(134, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 64.5%, 56.9%) |
| CIE-LAB | lab(40.29, -41.45, 31.70) |
| CIE-LCH | lch(40.29, 52.18, 142.59°) |
| OKLab | oklab(47.15% -0.1115 0.0744) |
| OKLCH | oklch(47.15% 0.134 146.3) |
| XYZ | xyz(6.1911, 11.4262, 3.7982) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.14
Deep Green
#02590F
ΔE00 6.92
Tree Green
#2A7E19
ΔE00 7.12
Jungle Green
#048243
ΔE00 7.53
Forest Green
#2D5A27
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E27 #6E1259
analogous
#2B6E12 #126E27 #126E55
triadic
#126E27 #27126E #6E2712
tetradic
#126E27 #122B6E #6E1259 #6E5512
square
#126E27 #122B6E #6E1259 #6E5512
split-complementary
#126E27 #55126E #6E122B
monochromatic
#041A09 #093914 #126E27 #1BA33A #23D74C
Accessibility & contrast
On white
6.39
#126E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#126E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E27
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E27 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70631F
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e27; /* rgb */ color: rgb(18, 110, 39); /* oklch */ color: oklch(47.2% 0.134 146.3);
Tailwind
colors: {
custom: {
50: '#639964',
500: '#126e27',
950: '#000000',
},
}SCSS
$custom: #126e27; $custom-light: #639964; $custom-dark: #000000;
JSON
{
"hex": "#126e27",
"rgb": {
"r": 18,
"g": 110,
"b": 39
},
"hsl": {
"h": 133.696,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47154,
"c": 0.1341,
"h": 146.3
},
"luminance": 0.11427
}Semantic roles & 50–950 ramp
primary
#126E27
secondary
#A5378C
accent
#39C5EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A