#126F31#126F31
#126F31 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.126 H 149.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #126F31 |
|---|---|
| RGB | rgb(18, 111, 49) |
| HSL | hsl(140, 72%, 25%) |
| HSV | hsv(140, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 55.9%, 56.5%) |
| CIE-LAB | lab(40.77, -40.34, 27.10) |
| CIE-LCH | lch(40.77, 48.59, 146.11°) |
| OKLab | oklab(47.59% -0.1083 0.0652) |
| OKLCH | oklch(47.59% 0.126 149) |
| XYZ | xyz(6.4877, 11.7184, 4.8251) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.86
Jungle Green
#048243
ΔE00 6.65
Darkgreen
#006400
ΔE00 6.85
Spruce
#0A5F38
ΔE00 7.11
Pine
#2B5D34
ΔE00 7.41
Forest Green
#2D5A27
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F31 #6F1250
analogous
#216F12 #126F31 #126F5F
triadic
#126F31 #31126F #6F3112
tetradic
#126F31 #12216F #6F1250 #6F5F12
square
#126F31 #12216F #6F1250 #6F5F12
split-complementary
#126F31 #5F126F #6F1221
monochromatic
#041A0C #093A1A #126F31 #1BA448 #23D85F
Accessibility & contrast
On white
6.28
#126F31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#126F31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F31
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F31 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70642B
Deuteranopia (green-blind)
#665D36
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f31; /* rgb */ color: rgb(18, 111, 49); /* oklch */ color: oklch(47.6% 0.126 149.0);
Tailwind
colors: {
custom: {
50: '#62996b',
500: '#126f31',
950: '#000000',
},
}SCSS
$custom: #126f31; $custom-light: #62996b; $custom-dark: #000000;
JSON
{
"hex": "#126f31",
"rgb": {
"r": 18,
"g": 111,
"b": 49
},
"hsl": {
"h": 140,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47588,
"c": 0.12641,
"h": 149
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#126F31
secondary
#A63781
accent
#39B2EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A