#126F2D#126F2D
#126F2D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.130 H 147.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #126F2D |
|---|---|
| RGB | rgb(18, 111, 45) |
| HSL | hsl(137, 72%, 25%) |
| HSV | hsv(137, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 59.5%, 56.5%) |
| CIE-LAB | lab(40.71, -40.96, 29.15) |
| CIE-LCH | lch(40.71, 50.28, 144.57°) |
| OKLab | oklab(47.53% -0.1101 0.0694) |
| OKLCH | oklch(47.53% 0.13 147.8) |
| XYZ | xyz(6.4070, 11.6862, 4.4001) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.75
Darkgreen
#006400
ΔE00 6.16
Jungle Green
#048243
ΔE00 6.85
Deep Green
#02590F
ΔE00 7.51
Tree Green
#2A7E19
ΔE00 7.54
Spruce
#0A5F38
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F2D #6F1254
analogous
#266F12 #126F2D #126F5B
triadic
#126F2D #2D126F #6F2D12
tetradic
#126F2D #12266F #6F1254 #6F5B12
square
#126F2D #12266F #6F1254 #6F5B12
split-complementary
#126F2D #5B126F #6F1226
monochromatic
#041A0B #093A18 #126F2D #1BA442 #23D858
Accessibility & contrast
On white
6.29
#126F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#126F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F2D
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F2D | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f2d; /* rgb */ color: rgb(18, 111, 45); /* oklch */ color: oklch(47.5% 0.130 147.8);
Tailwind
colors: {
custom: {
50: '#639968',
500: '#126f2d',
950: '#000000',
},
}SCSS
$custom: #126f2d; $custom-light: #639968; $custom-dark: #000000;
JSON
{
"hex": "#126f2d",
"rgb": {
"r": 18,
"g": 111,
"b": 45
},
"hsl": {
"h": 137.419,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47528,
"c": 0.13013,
"h": 147.8
},
"luminance": 0.11687
}Semantic roles & 50–950 ramp
primary
#126F2D
secondary
#A63786
accent
#39BAEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A