#126C1C#126C1C
#126C1C is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.140 H 144.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1C |
|---|---|
| RGB | rgb(18, 108, 28) |
| HSL | hsl(127, 71%, 25%) |
| HSV | hsv(127, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 74.1%, 57.6%) |
| CIE-LAB | lab(39.47, -42.02, 35.90) |
| CIE-LCH | lch(39.47, 55.27, 139.49°) |
| OKLab | oklab(46.44% -0.1136 0.082) |
| OKLCH | oklch(46.44% 0.14 144.2) |
| XYZ | xyz(5.8212, 10.9369, 2.9026) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.51
Deep Green
#02590F
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.21
Tree Green
#2A7E19
ΔE00 6.87
Forest
#0B5509
ΔE00 7.36
Forest Green
#2D5A27
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1C #6C1262
analogous
#356C12 #126C1C #126C49
triadic
#126C1C #1C126C #6C1C12
tetradic
#126C1C #12356C #6C1262 #6C4912
square
#126C1C #12356C #6C1262 #6C4912
split-complementary
#126C1C #49126C #6C1235
monochromatic
#041A07 #09380E #126C1C #1BA02A #23D537
Accessibility & contrast
On white
6.59
#126C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1C
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1C | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1c; /* rgb */ color: rgb(18, 108, 28); /* oklch */ color: oklch(46.4% 0.140 144.2);
Tailwind
colors: {
custom: {
50: '#63975d',
500: '#126c1c',
950: '#000000',
},
}SCSS
$custom: #126c1c; $custom-light: #63975d; $custom-dark: #000000;
JSON
{
"hex": "#126c1c",
"rgb": {
"r": 18,
"g": 108,
"b": 28
},
"hsl": {
"h": 126.667,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46443,
"c": 0.14011,
"h": 144.2
},
"luminance": 0.10938
}Semantic roles & 50–950 ramp
primary
#126C1C
secondary
#A33697
accent
#3ADAEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79