#126738#126738
#126738 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.108 H 153.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #126738 |
|---|---|
| RGB | rgb(18, 103, 56) |
| HSL | hsl(147, 70%, 24%) |
| HSV | hsv(147, 83%, 40%) |
| CMYK | cmyk(82.5%, 0%, 45.6%, 59.6%) |
| CIE-LAB | lab(38.05, -35.96, 19.76) |
| CIE-LCH | lch(38.05, 41.03, 151.21°) |
| OKLab | oklab(45.37% -0.0967 0.0489) |
| OKLCH | oklch(45.37% 0.108 153.2) |
| XYZ | xyz(5.8130, 10.1139, 5.3864) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.17
Pine
#2B5D34
ΔE00 4.52
Hunter Green
#355E3B
ΔE00 5.90
Forest Green
#2D5A27
ΔE00 6.30
Deep Green
#02590F
ΔE00 7.68
Darkish Green
#287C37
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126738 #671241
analogous
#166712 #126738 #126762
triadic
#126738 #381267 #673812
tetradic
#126738 #121667 #671241 #676212
square
#126738 #121667 #671241 #676212
split-complementary
#126738 #621267 #671216
monochromatic
#051A0E #09331C #126738 #1B9B54 #24CF71
Accessibility & contrast
On white
6.95
#126738 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#126738 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126738
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126738 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126738 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675E35
Deuteranopia (green-blind)
#5D573B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126738; /* rgb */ color: rgb(18, 103, 56); /* oklch */ color: oklch(45.4% 0.108 153.2);
Tailwind
colors: {
custom: {
50: '#60936f',
500: '#126738',
950: '#000000',
},
}SCSS
$custom: #126738; $custom-light: #60936f; $custom-dark: #000000;
JSON
{
"hex": "#126738",
"rgb": {
"r": 18,
"g": 103,
"b": 56
},
"hsl": {
"h": 146.824,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45372,
"c": 0.10836,
"h": 153.2
},
"luminance": 0.10115
}Semantic roles & 50–950 ramp
primary
#126738
secondary
#9F3670
accent
#3B9DED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A