#126030#126030
#126030 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.106 H 151.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #126030 |
|---|---|
| RGB | rgb(18, 96, 48) |
| HSL | hsl(143, 68%, 22%) |
| HSV | hsv(143, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 50%, 62.4%) |
| CIE-LAB | lab(35.41, -34.70, 20.99) |
| CIE-LCH | lch(35.41, 40.55, 148.83°) |
| OKLab | oklab(43.15% -0.0933 0.0514) |
| OKLCH | oklch(43.15% 0.106 151.2) |
| XYZ | xyz(4.9654, 8.7072, 4.2147) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.58
Pine
#2B5D34
ΔE00 3.27
Forest Green
#2D5A27
ΔE00 4.57
Hunter Green
#355E3B
ΔE00 5.30
Deep Green
#02590F
ΔE00 5.92
Forest
#0B5509
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126030 #601242
analogous
#1B6012 #126030 #126057
triadic
#126030 #301260 #603012
tetradic
#126030 #121B60 #601242 #605712
square
#126030 #121B60 #601242 #605712
split-complementary
#126030 #571260 #60121B
monochromatic
#051A0D #082C16 #126030 #1C944A #25C764
Accessibility & contrast
On white
7.66
#126030 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#126030 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126030
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126030 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126030 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572C
Deuteranopia (green-blind)
#575133
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126030; /* rgb */ color: rgb(18, 96, 48); /* oklch */ color: oklch(43.2% 0.106 151.2);
Tailwind
colors: {
custom: {
50: '#5e8e69',
500: '#126030',
950: '#000000',
},
}SCSS
$custom: #126030; $custom-light: #5e8e69; $custom-dark: #000000;
JSON
{
"hex": "#126030",
"rgb": {
"r": 18,
"g": 96,
"b": 48
},
"hsl": {
"h": 143.077,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43152,
"c": 0.10649,
"h": 151.2
},
"luminance": 0.08708
}Semantic roles & 50–950 ramp
primary
#126030
secondary
#983672
accent
#3DA8EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A