#126512#126512
#126512 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.138 H 142.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #126512 |
|---|---|
| RGB | rgb(18, 101, 18) |
| HSL | hsl(120, 70%, 23%) |
| HSV | hsv(120, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 82.2%, 60.4%) |
| CIE-LAB | lab(36.89, -40.48, 37.24) |
| CIE-LCH | lch(36.89, 55.00, 137.39°) |
| OKLab | oklab(44.27% -0.1099 0.0834) |
| OKLCH | oklch(44.27% 0.138 142.8) |
| XYZ | xyz(5.0120, 9.4790, 2.1376) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 1.70
Deep Green
#02590F
ΔE00 4.01
Forest
#0B5509
ΔE00 5.10
Forest Green
#2D5A27
ΔE00 6.52
Pine
#2B5D34
ΔE00 8.27
Navy Green
#35530A
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126512 #651265
analogous
#3B6512 #126512 #12653B
triadic
#126512 #121265 #651212
tetradic
#126512 #123B65 #651265 #653B12
square
#126512 #123B65 #651265 #653B12
split-complementary
#126512 #3B1265 #65123B
monochromatic
#051A05 #093109 #126512 #1B991B #25CD25
Accessibility & contrast
On white
7.25
#126512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#126512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126512
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126512 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#006255
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #126512; /* rgb */ color: rgb(18, 101, 18); /* oklch */ color: oklch(44.3% 0.138 142.8);
Tailwind
colors: {
custom: {
50: '#619257',
500: '#126512',
950: '#000000',
},
}SCSS
$custom: #126512; $custom-light: #619257; $custom-dark: #000000;
JSON
{
"hex": "#126512",
"rgb": {
"r": 18,
"g": 101,
"b": 18
},
"hsl": {
"h": 120,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44272,
"c": 0.13795,
"h": 142.8
},
"luminance": 0.0948
}Semantic roles & 50–950 ramp
primary
#126512
secondary
#9D369D
accent
#3BEDED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78