#126027#126027
#126027 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.115 H 147.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #126027 |
|---|---|
| RGB | rgb(18, 96, 39) |
| HSL | hsl(136, 68%, 22%) |
| HSV | hsv(136, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 59.4%, 62.4%) |
| CIE-LAB | lab(35.28, -36.25, 25.85) |
| CIE-LCH | lch(35.28, 44.52, 144.51°) |
| OKLab | oklab(43% -0.0975 0.0617) |
| OKLCH | oklch(43% 0.115 147.7) |
| XYZ | xyz(4.7982, 8.6403, 3.3339) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.02
Forest Green
#2D5A27
ΔE00 4.02
Pine
#2B5D34
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.73
Forest
#0B5509
ΔE00 5.16
Darkgreen
#006400
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126027 #60124B
analogous
#246012 #126027 #12604E
triadic
#126027 #271260 #602712
tetradic
#126027 #122460 #60124B #604E12
square
#126027 #122460 #60124B #604E12
split-complementary
#126027 #4E1260 #601224
monochromatic
#051A0A #082C12 #126027 #1C943C #25C751
Accessibility & contrast
On white
7.70
#126027 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#126027 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126027
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126027 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126027 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615722
Deuteranopia (green-blind)
#58512B
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126027; /* rgb */ color: rgb(18, 96, 39); /* oklch */ color: oklch(43.0% 0.115 147.7);
Tailwind
colors: {
custom: {
50: '#5f8e63',
500: '#126027',
950: '#000000',
},
}SCSS
$custom: #126027; $custom-light: #5f8e63; $custom-dark: #000000;
JSON
{
"hex": "#126027",
"rgb": {
"r": 18,
"g": 96,
"b": 39
},
"hsl": {
"h": 136.154,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43,
"c": 0.1154,
"h": 147.7
},
"luminance": 0.08641
}Semantic roles & 50–950 ramp
primary
#126027
secondary
#98367E
accent
#3DBCEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79