#126215#126215
#126215 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.133 H 143.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #126215 |
|---|---|
| RGB | rgb(18, 98, 21) |
| HSL | hsl(122, 69%, 23%) |
| HSV | hsv(122, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 78.6%, 61.6%) |
| CIE-LAB | lab(35.83, -39.18, 35.04) |
| CIE-LCH | lch(35.83, 52.57, 138.19°) |
| OKLab | oklab(43.39% -0.1062 0.0793) |
| OKLCH | oklch(43.39% 0.133 143.3) |
| XYZ | xyz(4.7522, 8.9175, 2.1801) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.41
Deep Green
#02590F
ΔE00 2.96
Forest
#0B5509
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 5.58
Pine
#2B5D34
ΔE00 7.40
Bottle Green
#044A05
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126215 #62125F
analogous
#376212 #126215 #12623D
triadic
#126215 #151262 #621512
tetradic
#126215 #123762 #62125F #623D12
square
#126215 #123762 #62125F #623D12
split-complementary
#126215 #3D1262 #621237
monochromatic
#051A06 #092E0A #126215 #1B9620 #25C92B
Accessibility & contrast
On white
7.54
#126215 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#126215 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126215
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126215 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126215; /* rgb */ color: rgb(18, 98, 21); /* oklch */ color: oklch(43.4% 0.133 143.3);
Tailwind
colors: {
custom: {
50: '#609058',
500: '#126215',
950: '#000000',
},
}SCSS
$custom: #126215; $custom-light: #609058; $custom-dark: #000000;
JSON
{
"hex": "#126215",
"rgb": {
"r": 18,
"g": 98,
"b": 21
},
"hsl": {
"h": 122.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43392,
"c": 0.13254,
"h": 143.3
},
"luminance": 0.08918
}Semantic roles & 50–950 ramp
primary
#126215
secondary
#9A3696
accent
#3CE5EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78