#126612#126612
#126612 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.139 H 142.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #126612 |
|---|---|
| RGB | rgb(18, 102, 18) |
| HSL | hsl(120, 70%, 24%) |
| HSV | hsv(120, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 82.4%, 60%) |
| CIE-LAB | lab(37.25, -40.83, 37.59) |
| CIE-LCH | lch(37.25, 55.49, 137.37°) |
| OKLab | oklab(44.57% -0.1108 0.0841) |
| OKLCH | oklch(44.57% 0.139 142.8) |
| XYZ | xyz(5.1097, 9.6744, 2.1702) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 1.71
Deep Green
#02590F
ΔE00 4.34
Forest
#0B5509
ΔE00 5.43
Forest Green
#2D5A27
ΔE00 6.77
Darkish Green
#287C37
ΔE00 8.28
Tree Green
#2A7E19
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126612 #661266
analogous
#3C6612 #126612 #12663C
triadic
#126612 #121266 #661212
tetradic
#126612 #123C66 #661266 #663C12
square
#126612 #123C66 #661266 #663C12
split-complementary
#126612 #3C1266 #66123C
monochromatic
#051A05 #093209 #126612 #1B9A1B #24CE24
Accessibility & contrast
On white
7.16
#126612 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#126612 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126612
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126612 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#006356
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126612; /* rgb */ color: rgb(18, 102, 18); /* oklch */ color: oklch(44.6% 0.139 142.8);
Tailwind
colors: {
custom: {
50: '#619357',
500: '#126612',
950: '#000000',
},
}SCSS
$custom: #126612; $custom-light: #619357; $custom-dark: #000000;
JSON
{
"hex": "#126612",
"rgb": {
"r": 18,
"g": 102,
"b": 18
},
"hsl": {
"h": 120,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44572,
"c": 0.13913,
"h": 142.8
},
"luminance": 0.09675
}Semantic roles & 50–950 ramp
primary
#126612
secondary
#9E369E
accent
#3BEDED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78