#126015#126015
#126015 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.130 H 143.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #126015 |
|---|---|
| RGB | rgb(18, 96, 21) |
| HSL | hsl(122, 68%, 22%) |
| HSV | hsv(122, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 78.1%, 62.4%) |
| CIE-LAB | lab(35.10, -38.47, 34.31) |
| CIE-LCH | lch(35.10, 51.55, 138.27°) |
| OKLab | oklab(42.79% -0.1043 0.0777) |
| OKLCH | oklch(42.79% 0.13 143.3) |
| XYZ | xyz(4.5674, 8.5479, 2.1185) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.33
Darkgreen
#006400
ΔE00 2.84
Forest
#0B5509
ΔE00 3.50
Forest Green
#2D5A27
ΔE00 5.16
Bottle Green
#044A05
ΔE00 6.87
Pine
#2B5D34
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126015 #60125D
analogous
#366012 #126015 #12603C
triadic
#126015 #151260 #601512
tetradic
#126015 #123660 #60125D #603C12
square
#126015 #123660 #60125D #603C12
split-complementary
#126015 #3C1260 #601236
monochromatic
#051A06 #082C0A #126015 #1C9420 #25C72C
Accessibility & contrast
On white
7.75
#126015 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#126015 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126015
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126015 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126015; /* rgb */ color: rgb(18, 96, 21); /* oklch */ color: oklch(42.8% 0.130 143.3);
Tailwind
colors: {
custom: {
50: '#608e58',
500: '#126015',
950: '#000000',
},
}SCSS
$custom: #126015; $custom-light: #608e58; $custom-dark: #000000;
JSON
{
"hex": "#126015",
"rgb": {
"r": 18,
"g": 96,
"b": 21
},
"hsl": {
"h": 122.308,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42789,
"c": 0.13007,
"h": 143.3
},
"luminance": 0.08548
}Semantic roles & 50–950 ramp
primary
#126015
secondary
#983694
accent
#3DE5EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78