#126815#126815
#126815 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.140 H 143.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #126815 |
|---|---|
| RGB | rgb(18, 104, 21) |
| HSL | hsl(122, 70%, 24%) |
| HSV | hsv(122, 83%, 41%) |
| CMYK | cmyk(82.7%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(37.99, -41.28, 37.21) |
| CIE-LCH | lch(37.99, 55.58, 137.97°) |
| OKLab | oklab(45.19% -0.1119 0.0838) |
| OKLCH | oklch(45.19% 0.14 143.2) |
| XYZ | xyz(5.3348, 10.0827, 2.3743) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.19
Deep Green
#02590F
ΔE00 4.92
Forest
#0B5509
ΔE00 6.06
Forest Green
#2D5A27
ΔE00 7.06
Darkish Green
#287C37
ΔE00 7.62
Tree Green
#2A7E19
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126815 #681265
analogous
#3A6812 #126815 #126840
triadic
#126815 #151268 #681512
tetradic
#126815 #123A68 #681265 #684012
square
#126815 #123A68 #681265 #684012
split-complementary
#126815 #401268 #68123A
monochromatic
#051A05 #09340A #126815 #1B9C20 #24D02A
Accessibility & contrast
On white
6.96
#126815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#126815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126815
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126815 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #126815; /* rgb */ color: rgb(18, 104, 21); /* oklch */ color: oklch(45.2% 0.140 143.2);
Tailwind
colors: {
custom: {
50: '#629459',
500: '#126815',
950: '#000000',
},
}SCSS
$custom: #126815; $custom-light: #629459; $custom-dark: #000000;
JSON
{
"hex": "#126815",
"rgb": {
"r": 18,
"g": 104,
"b": 21
},
"hsl": {
"h": 122.093,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45193,
"c": 0.1398,
"h": 143.2
},
"luminance": 0.10083
}Semantic roles & 50–950 ramp
primary
#126815
secondary
#A0369C
accent
#3BE7ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79