#126028#126028
#126028 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.114 H 148.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #126028 |
|---|---|
| RGB | rgb(18, 96, 40) |
| HSL | hsl(137, 68%, 22%) |
| HSV | hsv(137, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 58.3%, 62.4%) |
| CIE-LAB | lab(35.30, -36.09, 25.32) |
| CIE-LCH | lch(35.30, 44.09, 144.95°) |
| OKLab | oklab(43.02% -0.097 0.0607) |
| OKLCH | oklch(43.02% 0.114 148) |
| XYZ | xyz(4.8150, 8.6470, 3.4223) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.03
Deep Green
#02590F
ΔE00 4.20
Pine
#2B5D34
ΔE00 4.22
Spruce
#0A5F38
ΔE00 4.51
Forest
#0B5509
ΔE00 5.33
Darkgreen
#006400
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126028 #60124A
analogous
#236012 #126028 #12604F
triadic
#126028 #281260 #602812
tetradic
#126028 #122360 #60124A #604F12
square
#126028 #122360 #60124A #604F12
split-complementary
#126028 #4F1260 #601223
monochromatic
#051A0B #082C13 #126028 #1C943D #25C753
Accessibility & contrast
On white
7.69
#126028 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#126028 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126028
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126028 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126028 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126028; /* rgb */ color: rgb(18, 96, 40); /* oklch */ color: oklch(43.0% 0.114 148.0);
Tailwind
colors: {
custom: {
50: '#5f8e63',
500: '#126028',
950: '#000000',
},
}SCSS
$custom: #126028; $custom-light: #5f8e63; $custom-dark: #000000;
JSON
{
"hex": "#126028",
"rgb": {
"r": 18,
"g": 96,
"b": 40
},
"hsl": {
"h": 136.923,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43015,
"c": 0.11444,
"h": 148
},
"luminance": 0.08648
}Semantic roles & 50–950 ramp
primary
#126028
secondary
#98367C
accent
#3DBAEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A