#126212#126212
#126212 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.134 H 142.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #126212 |
|---|---|
| RGB | rgb(18, 98, 18) |
| HSL | hsl(120, 69%, 23%) |
| HSV | hsv(120, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 81.6%, 61.6%) |
| CIE-LAB | lab(35.80, -39.44, 36.18) |
| CIE-LCH | lch(35.80, 53.52, 137.47°) |
| OKLab | oklab(43.37% -0.107 0.0812) |
| OKLCH | oklch(43.37% 0.134 142.8) |
| XYZ | xyz(4.7260, 8.9071, 2.0423) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.04
Deep Green
#02590F
ΔE00 3.04
Forest
#0B5509
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 5.84
Bottle Green
#044A05
ΔE00 7.55
Pine
#2B5D34
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126212 #621262
analogous
#3A6212 #126212 #12623A
triadic
#126212 #121262 #621212
tetradic
#126212 #123A62 #621262 #623A12
square
#126212 #123A62 #621262 #623A12
split-complementary
#126212 #3A1262 #62123A
monochromatic
#051A05 #092E09 #126212 #1B961B #25C925
Accessibility & contrast
On white
7.55
#126212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#126212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126212
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126212 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126212; /* rgb */ color: rgb(18, 98, 18); /* oklch */ color: oklch(43.4% 0.134 142.8);
Tailwind
colors: {
custom: {
50: '#609057',
500: '#126212',
950: '#000000',
},
}SCSS
$custom: #126212; $custom-light: #609057; $custom-dark: #000000;
JSON
{
"hex": "#126212",
"rgb": {
"r": 18,
"g": 98,
"b": 18
},
"hsl": {
"h": 120,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43369,
"c": 0.13435,
"h": 142.8
},
"luminance": 0.08908
}Semantic roles & 50–950 ramp
primary
#126212
secondary
#9A369A
accent
#3CECEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78