#126F32#126F32
#126F32 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.125 H 149.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #126F32 |
|---|---|
| RGB | rgb(18, 111, 50) |
| HSL | hsl(141, 72%, 25%) |
| HSV | hsv(141, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 55%, 56.5%) |
| CIE-LAB | lab(40.78, -40.17, 26.57) |
| CIE-LCH | lch(40.78, 48.17, 146.51°) |
| OKLab | oklab(47.6% -0.1078 0.0641) |
| OKLCH | oklch(47.6% 0.125 149.3) |
| XYZ | xyz(6.5091, 11.7270, 4.9375) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.91
Jungle Green
#048243
ΔE00 6.61
Spruce
#0A5F38
ΔE00 6.97
Darkgreen
#006400
ΔE00 7.03
Pine
#2B5D34
ΔE00 7.32
Forest Green
#2D5A27
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F32 #6F124F
analogous
#216F12 #126F32 #126F60
triadic
#126F32 #32126F #6F3212
tetradic
#126F32 #12216F #6F124F #6F6012
square
#126F32 #12216F #6F124F #6F6012
split-complementary
#126F32 #60126F #6F1221
monochromatic
#041A0C #093A1A #126F32 #1BA44A #23D861
Accessibility & contrast
On white
6.28
#126F32 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#126F32 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F32
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F32 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70652D
Deuteranopia (green-blind)
#665D37
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f32; /* rgb */ color: rgb(18, 111, 50); /* oklch */ color: oklch(47.6% 0.125 149.3);
Tailwind
colors: {
custom: {
50: '#62996b',
500: '#126f32',
950: '#000000',
},
}SCSS
$custom: #126f32; $custom-light: #62996b; $custom-dark: #000000;
JSON
{
"hex": "#126f32",
"rgb": {
"r": 18,
"g": 111,
"b": 50
},
"hsl": {
"h": 140.645,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47604,
"c": 0.12546,
"h": 149.3
},
"luminance": 0.11728
}Semantic roles & 50–950 ramp
primary
#126F32
secondary
#A63780
accent
#39B0EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A