#126A2D#126A2D
#126A2D is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.123 H 148.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #126A2D |
|---|---|
| RGB | rgb(18, 106, 45) |
| HSL | hsl(138, 71%, 24%) |
| HSV | hsv(138, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 57.5%, 58.4%) |
| CIE-LAB | lab(38.94, -39.11, 27.03) |
| CIE-LCH | lch(38.94, 47.54, 145.35°) |
| OKLab | oklab(46.06% -0.1051 0.0648) |
| OKLCH | oklch(46.06% 0.123 148.3) |
| XYZ | xyz(5.8767, 10.6254, 4.2233) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 6.02
Spruce
#0A5F38
ΔE00 6.09
Pine
#2B5D34
ΔE00 6.20
Deep Green
#02590F
ΔE00 6.30
Forest Green
#2D5A27
ΔE00 6.39
Darkish Green
#287C37
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A2D #6A124F
analogous
#236A12 #126A2D #126A59
triadic
#126A2D #2D126A #6A2D12
tetradic
#126A2D #12236A #6A124F #6A5912
square
#126A2D #12236A #6A124F #6A5912
split-complementary
#126A2D #59126A #6A1223
monochromatic
#041A0B #093617 #126A2D #1B9E43 #24D359
Accessibility & contrast
On white
6.72
#126A2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#126A2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A2D
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A2D | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6027
Deuteranopia (green-blind)
#615932
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126a2d; /* rgb */ color: rgb(18, 106, 45); /* oklch */ color: oklch(46.1% 0.123 148.3);
Tailwind
colors: {
custom: {
50: '#619667',
500: '#126a2d',
950: '#000000',
},
}SCSS
$custom: #126a2d; $custom-light: #619667; $custom-dark: #000000;
JSON
{
"hex": "#126a2d",
"rgb": {
"r": 18,
"g": 106,
"b": 45
},
"hsl": {
"h": 138.409,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.4606,
"c": 0.12342,
"h": 148.3
},
"luminance": 0.10626
}Semantic roles & 50–950 ramp
primary
#126A2D
secondary
#A23681
accent
#3AB7EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A