#126126#126126
#126126 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.118 H 147.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #126126 |
|---|---|
| RGB | rgb(18, 97, 38) |
| HSL | hsl(135, 69%, 23%) |
| HSV | hsv(135, 81%, 38%) |
| CMYK | cmyk(81.4%, 0%, 60.8%, 62%) |
| CIE-LAB | lab(35.63, -36.79, 26.80) |
| CIE-LCH | lch(35.63, 45.51, 143.93°) |
| OKLab | oklab(43.28% -0.099 0.0637) |
| OKLCH | oklch(43.28% 0.118 147.2) |
| XYZ | xyz(4.8736, 8.8174, 3.2784) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.91
Forest Green
#2D5A27
ΔE00 4.22
Pine
#2B5D34
ΔE00 4.73
Forest
#0B5509
ΔE00 5.13
Spruce
#0A5F38
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126126 #61124D
analogous
#256112 #126126 #12614E
triadic
#126126 #261261 #612612
tetradic
#126126 #122561 #61124D #614E12
square
#126126 #122561 #61124D #614E12
split-complementary
#126126 #4E1261 #611225
monochromatic
#051A0A #082D12 #126126 #1C953A #25C84E
Accessibility & contrast
On white
7.60
#126126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#126126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126126
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126126 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625820
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126126; /* rgb */ color: rgb(18, 97, 38); /* oklch */ color: oklch(43.3% 0.118 147.2);
Tailwind
colors: {
custom: {
50: '#5f8f62',
500: '#126126',
950: '#000000',
},
}SCSS
$custom: #126126; $custom-light: #5f8f62; $custom-dark: #000000;
JSON
{
"hex": "#126126",
"rgb": {
"r": 18,
"g": 97,
"b": 38
},
"hsl": {
"h": 135.19,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.43284,
"c": 0.11771,
"h": 147.2
},
"luminance": 0.08818
}Semantic roles & 50–950 ramp
primary
#126126
secondary
#993680
accent
#3CBFEC
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79