#126834#126834
#126834 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.114 H 151.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #126834 |
|---|---|
| RGB | rgb(18, 104, 52) |
| HSL | hsl(144, 70%, 24%) |
| HSV | hsv(144, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 50%, 59.2%) |
| CIE-LAB | lab(38.33, -37.13, 22.42) |
| CIE-LCH | lch(38.33, 43.38, 148.88°) |
| OKLab | oklab(45.59% -0.0997 0.0548) |
| OKLCH | oklch(45.59% 0.114 151.2) |
| XYZ | xyz(5.8191, 10.2765, 4.9250) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.19
Pine
#2B5D34
ΔE00 4.96
Forest Green
#2D5A27
ΔE00 6.10
Hunter Green
#355E3B
ΔE00 6.48
Deep Green
#02590F
ΔE00 6.98
Darkish Green
#287C37
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126834 #681246
analogous
#1B6812 #126834 #12685F
triadic
#126834 #341268 #683412
tetradic
#126834 #121B68 #681246 #685F12
square
#126834 #121B68 #681246 #685F12
split-complementary
#126834 #5F1268 #68121B
monochromatic
#051A0D #09341A #126834 #1B9C4E #24D068
Accessibility & contrast
On white
6.87
#126834 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126834 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126834
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126834 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126834 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685E30
Deuteranopia (green-blind)
#5F5738
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126834; /* rgb */ color: rgb(18, 104, 52); /* oklch */ color: oklch(45.6% 0.114 151.2);
Tailwind
colors: {
custom: {
50: '#60946c',
500: '#126834',
950: '#000000',
},
}SCSS
$custom: #126834; $custom-light: #60946c; $custom-dark: #000000;
JSON
{
"hex": "#126834",
"rgb": {
"r": 18,
"g": 104,
"b": 52
},
"hsl": {
"h": 143.721,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45589,
"c": 0.11383,
"h": 151.2
},
"luminance": 0.10277
}Semantic roles & 50–950 ramp
primary
#126834
secondary
#A03676
accent
#3BA7ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A