#126012#126012
#126012 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.132 H 142.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #126012 |
|---|---|
| RGB | rgb(18, 96, 18) |
| HSL | hsl(120, 68%, 22%) |
| HSV | hsv(120, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.08, -38.73, 35.47) |
| CIE-LCH | lch(35.08, 52.52, 137.52°) |
| OKLab | oklab(42.77% -0.1051 0.0797) |
| OKLCH | oklch(42.77% 0.132 142.8) |
| XYZ | xyz(4.5412, 8.5375, 1.9807) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.41
Darkgreen
#006400
ΔE00 2.48
Forest
#0B5509
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 5.43
Bottle Green
#044A05
ΔE00 6.90
Darkgreen (survey)
#054907
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126012 #601260
analogous
#396012 #126012 #126039
triadic
#126012 #121260 #601212
tetradic
#126012 #123960 #601260 #603912
square
#126012 #123960 #601260 #603912
split-complementary
#126012 #391260 #601239
monochromatic
#051A05 #082C08 #126012 #1C941C #25C725
Accessibility & contrast
On white
7.76
#126012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#126012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126012
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126012 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #126012; /* rgb */ color: rgb(18, 96, 18); /* oklch */ color: oklch(42.8% 0.132 142.8);
Tailwind
colors: {
custom: {
50: '#608e56',
500: '#126012',
950: '#000000',
},
}SCSS
$custom: #126012; $custom-light: #608e56; $custom-dark: #000000;
JSON
{
"hex": "#126012",
"rgb": {
"r": 18,
"g": 96,
"b": 18
},
"hsl": {
"h": 120,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42765,
"c": 0.13193,
"h": 142.8
},
"luminance": 0.08538
}Semantic roles & 50–950 ramp
primary
#126012
secondary
#983698
accent
#3DEBEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78