#126838#126838
#126838 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.110 H 153.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #126838 |
|---|---|
| RGB | rgb(18, 104, 56) |
| HSL | hsl(147, 70%, 24%) |
| HSV | hsv(147, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 46.2%, 59.2%) |
| CIE-LAB | lab(38.40, -36.36, 20.22) |
| CIE-LCH | lch(38.40, 41.61, 150.92°) |
| OKLab | oklab(45.67% -0.0978 0.0499) |
| OKLCH | oklch(45.67% 0.11 153) |
| XYZ | xyz(5.9130, 10.3140, 5.4198) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.55
Pine
#2B5D34
ΔE00 4.78
Hunter Green
#355E3B
ΔE00 6.13
Forest Green
#2D5A27
ΔE00 6.45
Deep Green
#02590F
ΔE00 7.73
Darkish Green
#287C37
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126838 #681242
analogous
#176812 #126838 #126863
triadic
#126838 #381268 #683812
tetradic
#126838 #121768 #681242 #686312
square
#126838 #121768 #681242 #686312
split-complementary
#126838 #631268 #681217
monochromatic
#051A0E #09341C #126838 #1B9C54 #24D070
Accessibility & contrast
On white
6.86
#126838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126838
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126838 | 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)
#685F34
Deuteranopia (green-blind)
#5E583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126838; /* rgb */ color: rgb(18, 104, 56); /* oklch */ color: oklch(45.7% 0.110 153.0);
Tailwind
colors: {
custom: {
50: '#60946f',
500: '#126838',
950: '#000000',
},
}SCSS
$custom: #126838; $custom-light: #60946f; $custom-dark: #000000;
JSON
{
"hex": "#126838",
"rgb": {
"r": 18,
"g": 104,
"b": 56
},
"hsl": {
"h": 146.512,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45665,
"c": 0.10979,
"h": 153
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#126838
secondary
#A03671
accent
#3B9EED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A