#126F27#126F27
#126F27 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.135 H 146.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #126F27 |
|---|---|
| RGB | rgb(18, 111, 39) |
| HSL | hsl(134, 72%, 25%) |
| HSV | hsv(134, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 64.9%, 56.5%) |
| CIE-LAB | lab(40.64, -41.81, 32.11) |
| CIE-LCH | lch(40.64, 52.71, 142.48°) |
| OKLab | oklab(47.45% -0.1125 0.0753) |
| OKLCH | oklch(47.45% 0.135 146.2) |
| XYZ | xyz(6.2996, 11.6432, 3.8344) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.84
Darkgreen
#006400
ΔE00 5.27
Tree Green
#2A7E19
ΔE00 6.80
Deep Green
#02590F
ΔE00 7.22
Jungle Green
#048243
ΔE00 7.29
Green
#008000
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F27 #6F125A
analogous
#2C6F12 #126F27 #126F55
triadic
#126F27 #27126F #6F2712
tetradic
#126F27 #122C6F #6F125A #6F5512
square
#126F27 #122C6F #6F125A #6F5512
split-complementary
#126F27 #55126F #6F122C
monochromatic
#041A09 #093A14 #126F27 #1BA43A #23D84C
Accessibility & contrast
On white
6.31
#126F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F27
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F27 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71641F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f27; /* rgb */ color: rgb(18, 111, 39); /* oklch */ color: oklch(47.4% 0.135 146.2);
Tailwind
colors: {
custom: {
50: '#639964',
500: '#126f27',
950: '#000000',
},
}SCSS
$custom: #126f27; $custom-light: #639964; $custom-dark: #000000;
JSON
{
"hex": "#126f27",
"rgb": {
"r": 18,
"g": 111,
"b": 39
},
"hsl": {
"h": 133.548,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47448,
"c": 0.13539,
"h": 146.2
},
"luminance": 0.11644
}Semantic roles & 50–950 ramp
primary
#126F27
secondary
#A6378D
accent
#39C6EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A