#126726#126726
#126726 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.126 H 146.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #126726 |
|---|---|
| RGB | rgb(18, 103, 38) |
| HSL | hsl(134, 70%, 24%) |
| HSV | hsv(134, 83%, 40%) |
| CMYK | cmyk(82.5%, 0%, 63.1%, 59.6%) |
| CIE-LAB | lab(37.79, -39.04, 29.32) |
| CIE-LCH | lch(37.79, 48.82, 143.09°) |
| OKLab | oklab(45.07% -0.1051 0.0692) |
| OKLCH | oklch(45.07% 0.126 146.6) |
| XYZ | xyz(5.4491, 9.9684, 3.4702) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.76
Deep Green
#02590F
ΔE00 4.96
Forest Green
#2D5A27
ΔE00 5.69
Pine
#2B5D34
ΔE00 6.19
Forest
#0B5509
ΔE00 6.30
Spruce
#0A5F38
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126726 #671253
analogous
#286712 #126726 #126750
triadic
#126726 #261267 #672612
tetradic
#126726 #122867 #671253 #675012
square
#126726 #122867 #671253 #675012
split-complementary
#126726 #501267 #671228
monochromatic
#051A0A #093313 #126726 #1B9B39 #24CF4C
Accessibility & contrast
On white
7.01
#126726 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#126726 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126726
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126726 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D1F
Deuteranopia (green-blind)
#5F562B
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #126726; /* rgb */ color: rgb(18, 103, 38); /* oklch */ color: oklch(45.1% 0.126 146.6);
Tailwind
colors: {
custom: {
50: '#619363',
500: '#126726',
950: '#000000',
},
}SCSS
$custom: #126726; $custom-light: #619363; $custom-dark: #000000;
JSON
{
"hex": "#126726",
"rgb": {
"r": 18,
"g": 103,
"b": 38
},
"hsl": {
"h": 134.118,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45072,
"c": 0.12581,
"h": 146.6
},
"luminance": 0.09969
}Semantic roles & 50–950 ramp
primary
#126726
secondary
#9F3686
accent
#3BC3ED
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79