#126E26#126E26
#126E26 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.135 H 146.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #126E26 |
|---|---|
| RGB | rgb(18, 110, 38) |
| HSL | hsl(133, 72%, 25%) |
| HSV | hsv(133, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 65.5%, 56.9%) |
| CIE-LAB | lab(40.28, -41.58, 32.18) |
| CIE-LCH | lch(40.28, 52.58, 142.26°) |
| OKLab | oklab(47.14% -0.1119 0.0754) |
| OKLCH | oklch(47.14% 0.135 146.1) |
| XYZ | xyz(6.1748, 11.4196, 3.7121) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.00
Darkish Green
#287C37
ΔE00 5.16
Deep Green
#02590F
ΔE00 6.89
Tree Green
#2A7E19
ΔE00 7.01
Jungle Green
#048243
ΔE00 7.61
Forest Green
#2D5A27
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E26 #6E125A
analogous
#2C6E12 #126E26 #126E54
triadic
#126E26 #26126E #6E2612
tetradic
#126E26 #122C6E #6E125A #6E5412
square
#126E26 #122C6E #6E125A #6E5412
split-complementary
#126E26 #54126E #6E122C
monochromatic
#041A09 #093914 #126E26 #1BA338 #23D74A
Accessibility & contrast
On white
6.39
#126E26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#126E26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E26
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E26 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70631E
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e26; /* rgb */ color: rgb(18, 110, 38); /* oklch */ color: oklch(47.1% 0.135 146.1);
Tailwind
colors: {
custom: {
50: '#639963',
500: '#126e26',
950: '#000000',
},
}SCSS
$custom: #126e26; $custom-light: #639963; $custom-dark: #000000;
JSON
{
"hex": "#126e26",
"rgb": {
"r": 18,
"g": 110,
"b": 38
},
"hsl": {
"h": 133.043,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47141,
"c": 0.13495,
"h": 146.1
},
"luminance": 0.1142
}Semantic roles & 50–950 ramp
primary
#126E26
secondary
#A5378D
accent
#39C7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A