#126936#126936
#126936 is a mid, moderate green. Relative luminance 0.105; OKLCH L 45.9% C 0.113 H 151.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #126936 |
|---|---|
| RGB | rgb(18, 105, 54) |
| HSL | hsl(145, 71%, 24%) |
| HSV | hsv(145, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 48.6%, 58.8%) |
| CIE-LAB | lab(38.72, -37.15, 21.78) |
| CIE-LCH | lch(38.72, 43.07, 149.62°) |
| OKLab | oklab(45.92% -0.0998 0.0534) |
| OKLCH | oklch(45.92% 0.113 151.8) |
| XYZ | xyz(5.9663, 10.4974, 5.2011) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.22
Pine
#2B5D34
ΔE00 5.14
Forest Green
#2D5A27
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.54
Darkish Green
#287C37
ΔE00 7.36
Deep Green
#02590F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126936 #691245
analogous
#196912 #126936 #126962
triadic
#126936 #361269 #693612
tetradic
#126936 #121969 #691245 #696212
square
#126936 #121969 #691245 #696212
split-complementary
#126936 #621269 #691219
monochromatic
#041A0D #09351B #126936 #1B9D51 #24D16C
Accessibility & contrast
On white
6.78
#126936 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#126936 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126936
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126936 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126936 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F32
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #126936; /* rgb */ color: rgb(18, 105, 54); /* oklch */ color: oklch(45.9% 0.113 151.8);
Tailwind
colors: {
custom: {
50: '#61956e',
500: '#126936',
950: '#000000',
},
}SCSS
$custom: #126936; $custom-light: #61956e; $custom-dark: #000000;
JSON
{
"hex": "#126936",
"rgb": {
"r": 18,
"g": 105,
"b": 54
},
"hsl": {
"h": 144.828,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45919,
"c": 0.11322,
"h": 151.8
},
"luminance": 0.10498
}Semantic roles & 50–950 ramp
primary
#126936
secondary
#A13675
accent
#3AA3ED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A