#126828#126828
#126828 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.125 H 147.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #126828 |
|---|---|
| RGB | rgb(18, 104, 40) |
| HSL | hsl(135, 70%, 24%) |
| HSV | hsv(135, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(38.17, -39.12, 28.74) |
| CIE-LCH | lch(38.17, 48.54, 143.70°) |
| OKLab | oklab(45.4% -0.1052 0.0681) |
| OKLCH | oklch(45.4% 0.125 147.1) |
| XYZ | xyz(5.5823, 10.1818, 3.6781) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.10
Deep Green
#02590F
ΔE00 5.36
Forest Green
#2D5A27
ΔE00 5.91
Pine
#2B5D34
ΔE00 6.21
Spruce
#0A5F38
ΔE00 6.39
Forest
#0B5509
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126828 #681252
analogous
#276812 #126828 #126853
triadic
#126828 #281268 #682812
tetradic
#126828 #122768 #681252 #685312
square
#126828 #122768 #681252 #685312
split-complementary
#126828 #531268 #681227
monochromatic
#051A0A #093414 #126828 #1B9C3C #24D050
Accessibility & contrast
On white
6.92
#126828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#126828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126828
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126828 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126828; /* rgb */ color: rgb(18, 104, 40); /* oklch */ color: oklch(45.4% 0.125 147.1);
Tailwind
colors: {
custom: {
50: '#619464',
500: '#126828',
950: '#000000',
},
}SCSS
$custom: #126828; $custom-light: #619464; $custom-dark: #000000;
JSON
{
"hex": "#126828",
"rgb": {
"r": 18,
"g": 104,
"b": 40
},
"hsl": {
"h": 135.349,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45396,
"c": 0.12535,
"h": 147.1
},
"luminance": 0.10182
}Semantic roles & 50–950 ramp
primary
#126828
secondary
#A03685
accent
#3BC0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A