#126515#126515
#126515 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.136 H 143.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #126515 |
|---|---|
| RGB | rgb(18, 101, 21) |
| HSL | hsl(122, 70%, 23%) |
| HSV | hsv(122, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 79.2%, 60.4%) |
| CIE-LAB | lab(36.91, -40.24, 36.13) |
| CIE-LCH | lch(36.91, 54.08, 138.08°) |
| OKLab | oklab(44.29% -0.1091 0.0816) |
| OKLCH | oklch(44.29% 0.136 143.2) |
| XYZ | xyz(5.0382, 9.4895, 2.2755) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.06
Deep Green
#02590F
ΔE00 3.93
Forest
#0B5509
ΔE00 5.08
Forest Green
#2D5A27
ΔE00 6.29
Pine
#2B5D34
ΔE00 7.93
Darkish Green
#287C37
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126515 #651262
analogous
#386512 #126515 #12653E
triadic
#126515 #151265 #651512
tetradic
#126515 #123865 #651262 #653E12
square
#126515 #123865 #651262 #653E12
split-complementary
#126515 #3E1265 #651238
monochromatic
#051A05 #09310A #126515 #1B9920 #25CD2B
Accessibility & contrast
On white
7.25
#126515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#126515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126515
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126515 | 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)
#675B05
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#006256
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #126515; /* rgb */ color: rgb(18, 101, 21); /* oklch */ color: oklch(44.3% 0.136 143.2);
Tailwind
colors: {
custom: {
50: '#619259',
500: '#126515',
950: '#000000',
},
}SCSS
$custom: #126515; $custom-light: #619259; $custom-dark: #000000;
JSON
{
"hex": "#126515",
"rgb": {
"r": 18,
"g": 101,
"b": 21
},
"hsl": {
"h": 122.169,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44294,
"c": 0.13619,
"h": 143.2
},
"luminance": 0.0949
}Semantic roles & 50–950 ramp
primary
#126515
secondary
#9D3699
accent
#3BE6ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79