#126F3D#126F3D
#126F3D is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.115 H 153.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #126F3D |
|---|---|
| RGB | rgb(18, 111, 61) |
| HSL | hsl(148, 72%, 25%) |
| HSV | hsv(148, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 45%, 56.5%) |
| CIE-LAB | lab(40.95, -38.16, 20.67) |
| CIE-LCH | lch(40.95, 43.39, 151.56°) |
| OKLab | oklab(47.8% -0.1026 0.0511) |
| OKLCH | oklch(47.8% 0.115 153.5) |
| XYZ | xyz(6.7756, 11.8336, 6.3410) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.64
Darkish Green
#287C37
ΔE00 6.09
Jungle Green
#048243
ΔE00 6.74
Pine
#2B5D34
ΔE00 6.75
Hunter Green
#355E3B
ΔE00 7.69
Forest Green
#2D5A27
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F3D #6F1244
analogous
#156F12 #126F3D #126F6B
triadic
#126F3D #3D126F #6F3D12
tetradic
#126F3D #12156F #6F1244 #6F6B12
square
#126F3D #12156F #6F1244 #6F6B12
split-complementary
#126F3D #6B126F #6F1215
monochromatic
#041A0E #093A20 #126F3D #1BA45A #23D877
Accessibility & contrast
On white
6.24
#126F3D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#126F3D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F3D
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F3D | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6539
Deuteranopia (green-blind)
#645E40
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #126f3d; /* rgb */ color: rgb(18, 111, 61); /* oklch */ color: oklch(47.8% 0.115 153.5);
Tailwind
colors: {
custom: {
50: '#629973',
500: '#126f3d',
950: '#000000',
},
}SCSS
$custom: #126f3d; $custom-light: #629973; $custom-dark: #000000;
JSON
{
"hex": "#126f3d",
"rgb": {
"r": 18,
"g": 111,
"b": 61
},
"hsl": {
"h": 147.742,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47802,
"c": 0.11463,
"h": 153.5
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#126F3D
secondary
#A63773
accent
#399BEF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B