#126915#126915
#126915 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.141 H 143.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #126915 |
|---|---|
| RGB | rgb(18, 105, 21) |
| HSL | hsl(122, 71%, 24%) |
| HSV | hsv(122, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(38.35, -41.62, 37.57) |
| CIE-LCH | lch(38.35, 56.07, 137.93°) |
| OKLab | oklab(45.49% -0.1128 0.0845) |
| OKLCH | oklch(45.49% 0.141 143.2) |
| XYZ | xyz(5.4360, 10.2852, 2.4081) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.34
Deep Green
#02590F
ΔE00 5.25
Forest
#0B5509
ΔE00 6.39
Forest Green
#2D5A27
ΔE00 7.33
Darkish Green
#287C37
ΔE00 7.37
Tree Green
#2A7E19
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126915 #691266
analogous
#3B6912 #126915 #126941
triadic
#126915 #151269 #691512
tetradic
#126915 #123B69 #691266 #694112
square
#126915 #123B69 #691266 #694112
split-complementary
#126915 #411269 #69123B
monochromatic
#041A05 #09350B #126915 #1B9D1F #24D12A
Accessibility & contrast
On white
6.87
#126915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126915
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126915 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126915; /* rgb */ color: rgb(18, 105, 21); /* oklch */ color: oklch(45.5% 0.141 143.2);
Tailwind
colors: {
custom: {
50: '#629559',
500: '#126915',
950: '#000000',
},
}SCSS
$custom: #126915; $custom-light: #629559; $custom-dark: #000000;
JSON
{
"hex": "#126915",
"rgb": {
"r": 18,
"g": 105,
"b": 21
},
"hsl": {
"h": 122.069,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45491,
"c": 0.14099,
"h": 143.2
},
"luminance": 0.10286
}Semantic roles & 50–950 ramp
primary
#126915
secondary
#A1369D
accent
#3AE7ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79