#126938#126938
#126938 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.111 H 152.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #126938 |
|---|---|
| RGB | rgb(18, 105, 56) |
| HSL | hsl(146, 71%, 24%) |
| HSV | hsv(146, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 46.7%, 58.8%) |
| CIE-LAB | lab(38.75, -36.76, 20.68) |
| CIE-LCH | lch(38.75, 42.18, 150.64°) |
| OKLab | oklab(45.96% -0.0988 0.051) |
| OKLCH | oklch(45.96% 0.111 152.7) |
| XYZ | xyz(6.0143, 10.5165, 5.4535) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.92
Pine
#2B5D34
ΔE00 5.06
Hunter Green
#355E3B
ΔE00 6.38
Forest Green
#2D5A27
ΔE00 6.62
Darkish Green
#287C37
ΔE00 7.59
Deep Green
#02590F
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126938 #691243
analogous
#186912 #126938 #126964
triadic
#126938 #381269 #693812
tetradic
#126938 #121869 #691243 #696412
square
#126938 #121869 #691243 #696412
split-complementary
#126938 #641269 #691218
monochromatic
#041A0E #09351C #126938 #1B9D54 #24D170
Accessibility & contrast
On white
6.77
#126938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#126938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126938
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126938 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126938; /* rgb */ color: rgb(18, 105, 56); /* oklch */ color: oklch(46.0% 0.111 152.7);
Tailwind
colors: {
custom: {
50: '#60956f',
500: '#126938',
950: '#000000',
},
}SCSS
$custom: #126938; $custom-light: #60956f; $custom-dark: #000000;
JSON
{
"hex": "#126938",
"rgb": {
"r": 18,
"g": 105,
"b": 56
},
"hsl": {
"h": 146.207,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45958,
"c": 0.1112,
"h": 152.7
},
"luminance": 0.10517
}Semantic roles & 50–950 ramp
primary
#126938
secondary
#A13672
accent
#3A9FED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A