#126428#126428
#126428 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.2% C 0.120 H 147.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #126428 |
|---|---|
| RGB | rgb(18, 100, 40) |
| HSL | hsl(136, 69%, 23%) |
| HSV | hsv(136, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 60%, 60.8%) |
| CIE-LAB | lab(36.73, -37.62, 27.05) |
| CIE-LCH | lch(36.73, 46.34, 144.29°) |
| OKLab | oklab(44.21% -0.1012 0.0644) |
| OKLCH | oklch(44.21% 0.12 147.5) |
| XYZ | xyz(5.1892, 9.3955, 3.5471) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.59
Forest Green
#2D5A27
ΔE00 4.86
Pine
#2B5D34
ΔE00 5.13
Spruce
#0A5F38
ΔE00 5.36
Darkgreen
#006400
ΔE00 5.49
Forest
#0B5509
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126428 #64124E
analogous
#256412 #126428 #126451
triadic
#126428 #281264 #642812
tetradic
#126428 #122564 #64124E #645112
square
#126428 #122564 #64124E #645112
split-complementary
#126428 #511264 #641225
monochromatic
#051A0A #093013 #126428 #1B983D #25CC51
Accessibility & contrast
On white
7.29
#126428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#126428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126428
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126428 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #126428; /* rgb */ color: rgb(18, 100, 40); /* oklch */ color: oklch(44.2% 0.120 147.5);
Tailwind
colors: {
custom: {
50: '#609164',
500: '#126428',
950: '#000000',
},
}SCSS
$custom: #126428; $custom-light: #609164; $custom-dark: #000000;
JSON
{
"hex": "#126428",
"rgb": {
"r": 18,
"g": 100,
"b": 40
},
"hsl": {
"h": 136.098,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44208,
"c": 0.11996,
"h": 147.5
},
"luminance": 0.09396
}Semantic roles & 50–950 ramp
primary
#126428
secondary
#9C3681
accent
#3BBDEC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A