#126E25#126E25
#126E25 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.136 H 145.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #126E25 |
|---|---|
| RGB | rgb(18, 110, 37) |
| HSL | hsl(132, 72%, 25%) |
| HSV | hsv(132, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 66.4%, 56.9%) |
| CIE-LAB | lab(40.27, -41.71, 32.65) |
| CIE-LCH | lch(40.27, 52.97, 141.94°) |
| OKLab | oklab(47.13% -0.1123 0.0763) |
| OKLCH | oklch(47.13% 0.136 145.8) |
| XYZ | xyz(6.1589, 11.4133, 3.6283) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.87
Darkish Green
#287C37
ΔE00 5.20
Deep Green
#02590F
ΔE00 6.86
Tree Green
#2A7E19
ΔE00 6.91
Jungle Green
#048243
ΔE00 7.69
Forest Green
#2D5A27
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E25 #6E125B
analogous
#2D6E12 #126E25 #126E53
triadic
#126E25 #25126E #6E2512
tetradic
#126E25 #122D6E #6E125B #6E5312
square
#126E25 #122D6E #6E125B #6E5312
split-complementary
#126E25 #53126E #6E122D
monochromatic
#041A09 #093913 #126E25 #1BA337 #23D748
Accessibility & contrast
On white
6.40
#126E25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#126E25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E25
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E25 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70631C
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e25; /* rgb */ color: rgb(18, 110, 37); /* oklch */ color: oklch(47.1% 0.136 145.8);
Tailwind
colors: {
custom: {
50: '#639963',
500: '#126e25',
950: '#000000',
},
}SCSS
$custom: #126e25; $custom-light: #639963; $custom-dark: #000000;
JSON
{
"hex": "#126e25",
"rgb": {
"r": 18,
"g": 110,
"b": 37
},
"hsl": {
"h": 132.391,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47129,
"c": 0.13577,
"h": 145.8
},
"luminance": 0.11414
}Semantic roles & 50–950 ramp
primary
#126E25
secondary
#A5378E
accent
#39C9EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A