#126836#126836
#126836 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.112 H 152.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #126836 |
|---|---|
| RGB | rgb(18, 104, 54) |
| HSL | hsl(145, 70%, 24%) |
| HSV | hsv(145, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 48.1%, 59.2%) |
| CIE-LAB | lab(38.37, -36.76, 21.33) |
| CIE-LCH | lch(38.37, 42.49, 149.88°) |
| OKLab | oklab(45.63% -0.0988 0.0524) |
| OKLCH | oklch(45.63% 0.112 152.1) |
| XYZ | xyz(5.8651, 10.2949, 5.1673) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.85
Pine
#2B5D34
ΔE00 4.85
Forest Green
#2D5A27
ΔE00 6.26
Hunter Green
#355E3B
ΔE00 6.29
Deep Green
#02590F
ΔE00 7.34
Darkish Green
#287C37
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126836 #681244
analogous
#196812 #126836 #126861
triadic
#126836 #361268 #683612
tetradic
#126836 #121968 #681244 #686112
square
#126836 #121968 #681244 #686112
split-complementary
#126836 #611268 #681219
monochromatic
#051A0E #09341B #126836 #1B9C51 #24D06C
Accessibility & contrast
On white
6.86
#126836 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126836 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126836
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126836 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F32
Deuteranopia (green-blind)
#5E583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126836; /* rgb */ color: rgb(18, 104, 54); /* oklch */ color: oklch(45.6% 0.112 152.1);
Tailwind
colors: {
custom: {
50: '#60946e',
500: '#126836',
950: '#000000',
},
}SCSS
$custom: #126836; $custom-light: #60946e; $custom-dark: #000000;
JSON
{
"hex": "#126836",
"rgb": {
"r": 18,
"g": 104,
"b": 54
},
"hsl": {
"h": 145.116,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45626,
"c": 0.11181,
"h": 152.1
},
"luminance": 0.10296
}Semantic roles & 50–950 ramp
primary
#126836
secondary
#A03673
accent
#3BA2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A