#126F39#126F39
#126F39 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.7% C 0.119 H 151.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #126F39 |
|---|---|
| RGB | rgb(18, 111, 57) |
| HSL | hsl(145, 72%, 25%) |
| HSV | hsv(145, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 48.6%, 56.5%) |
| CIE-LAB | lab(40.88, -38.93, 22.85) |
| CIE-LCH | lch(40.88, 45.14, 149.60°) |
| OKLab | oklab(47.73% -0.1046 0.056) |
| OKLCH | oklch(47.73% 0.119 151.8) |
| XYZ | xyz(6.6718, 11.7921, 5.7946) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.53
Spruce
#0A5F38
ΔE00 6.05
Jungle Green
#048243
ΔE00 6.57
Pine
#2B5D34
ΔE00 6.87
Hunter Green
#355E3B
ΔE00 7.96
Forest Green
#2D5A27
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F39 #6F1248
analogous
#1A6F12 #126F39 #126F67
triadic
#126F39 #39126F #6F3912
tetradic
#126F39 #121A6F #6F1248 #6F6712
square
#126F39 #121A6F #6F1248 #6F6712
split-complementary
#126F39 #67126F #6F121A
monochromatic
#041A0E #093A1E #126F39 #1BA454 #23D86F
Accessibility & contrast
On white
6.25
#126F39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#126F39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F39
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F39 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6535
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f39; /* rgb */ color: rgb(18, 111, 57); /* oklch */ color: oklch(47.7% 0.119 151.8);
Tailwind
colors: {
custom: {
50: '#629970',
500: '#126f39',
950: '#000000',
},
}SCSS
$custom: #126f39; $custom-light: #629970; $custom-dark: #000000;
JSON
{
"hex": "#126f39",
"rgb": {
"r": 18,
"g": 111,
"b": 57
},
"hsl": {
"h": 145.161,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47725,
"c": 0.11862,
"h": 151.8
},
"luminance": 0.11793
}Semantic roles & 50–950 ramp
primary
#126F39
secondary
#A63777
accent
#39A3EF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A