#126412#126412
#126412 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.0% C 0.137 H 142.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #126412 |
|---|---|
| RGB | rgb(18, 100, 18) |
| HSL | hsl(120, 69%, 23%) |
| HSV | hsv(120, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 82%, 60.8%) |
| CIE-LAB | lab(36.53, -40.13, 36.89) |
| CIE-LCH | lch(36.53, 54.51, 137.41°) |
| OKLab | oklab(43.97% -0.1089 0.0827) |
| OKLCH | oklch(43.97% 0.137 142.8) |
| XYZ | xyz(4.9155, 9.2860, 2.1055) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 1.76
Deep Green
#02590F
ΔE00 3.69
Forest
#0B5509
ΔE00 4.77
Forest Green
#2D5A27
ΔE00 6.29
Pine
#2B5D34
ΔE00 8.09
Bottle Green
#044A05
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126412 #641264
analogous
#3B6412 #126412 #12643B
triadic
#126412 #121264 #641212
tetradic
#126412 #123B64 #641264 #643B12
square
#126412 #123B64 #641264 #643B12
split-complementary
#126412 #3B1264 #64123B
monochromatic
#051A05 #093009 #126412 #1B981B #25CC25
Accessibility & contrast
On white
7.35
#126412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#126412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126412
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126412 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5D541B
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #126412; /* rgb */ color: rgb(18, 100, 18); /* oklch */ color: oklch(44.0% 0.137 142.8);
Tailwind
colors: {
custom: {
50: '#619157',
500: '#126412',
950: '#000000',
},
}SCSS
$custom: #126412; $custom-light: #619157; $custom-dark: #000000;
JSON
{
"hex": "#126412",
"rgb": {
"r": 18,
"g": 100,
"b": 18
},
"hsl": {
"h": 120,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.43972,
"c": 0.13676,
"h": 142.8
},
"luminance": 0.09287
}Semantic roles & 50–950 ramp
primary
#126412
secondary
#9C369C
accent
#3BECEC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78