#126F2C#126F2C
#126F2C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.131 H 147.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #126F2C |
|---|---|
| RGB | rgb(18, 111, 44) |
| HSL | hsl(137, 72%, 25%) |
| HSV | hsv(137, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 60.4%, 56.5%) |
| CIE-LAB | lab(40.70, -41.11, 29.65) |
| CIE-LCH | lch(40.70, 50.69, 144.20°) |
| OKLab | oklab(47.51% -0.1105 0.0705) |
| OKLCH | oklch(47.51% 0.131 147.5) |
| XYZ | xyz(6.3880, 11.6785, 4.2999) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.74
Darkgreen
#006400
ΔE00 6.00
Jungle Green
#048243
ΔE00 6.91
Tree Green
#2A7E19
ΔE00 7.41
Deep Green
#02590F
ΔE00 7.45
Spruce
#0A5F38
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F2C #6F1255
analogous
#276F12 #126F2C #126F5A
triadic
#126F2C #2C126F #6F2C12
tetradic
#126F2C #12276F #6F1255 #6F5A12
square
#126F2C #12276F #6F1255 #6F5A12
split-complementary
#126F2C #5A126F #6F1227
monochromatic
#041A0A #093A17 #126F2C #1BA441 #23D856
Accessibility & contrast
On white
6.30
#126F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#126F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F2C
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F2C | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f2c; /* rgb */ color: rgb(18, 111, 44); /* oklch */ color: oklch(47.5% 0.131 147.5);
Tailwind
colors: {
custom: {
50: '#639967',
500: '#126f2c',
950: '#000000',
},
}SCSS
$custom: #126f2c; $custom-light: #639967; $custom-dark: #000000;
JSON
{
"hex": "#126f2c",
"rgb": {
"r": 18,
"g": 111,
"b": 44
},
"hsl": {
"h": 136.774,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47514,
"c": 0.13104,
"h": 147.5
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#126F2C
secondary
#A63787
accent
#39BCEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A