#126727#126727
#126727 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.125 H 146.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #126727 |
|---|---|
| RGB | rgb(18, 103, 39) |
| HSL | hsl(135, 70%, 24%) |
| HSV | hsv(135, 83%, 40%) |
| CMYK | cmyk(82.5%, 0%, 62.1%, 59.6%) |
| CIE-LAB | lab(37.80, -38.90, 28.82) |
| CIE-LCH | lch(37.80, 48.41, 143.46°) |
| OKLab | oklab(45.09% -0.1046 0.0682) |
| OKLCH | oklch(45.09% 0.125 146.9) |
| XYZ | xyz(5.4655, 9.9749, 3.5564) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.96
Deep Green
#02590F
ΔE00 5.04
Forest Green
#2D5A27
ΔE00 5.66
Pine
#2B5D34
ΔE00 6.06
Spruce
#0A5F38
ΔE00 6.30
Forest
#0B5509
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126727 #671252
analogous
#276712 #126727 #126751
triadic
#126727 #271267 #672712
tetradic
#126727 #122767 #671252 #675112
square
#126727 #122767 #671252 #675112
split-complementary
#126727 #511267 #671227
monochromatic
#051A0A #093313 #126727 #1B9B3B #24CF4E
Accessibility & contrast
On white
7.01
#126727 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#126727 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126727
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126727 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126727 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D20
Deuteranopia (green-blind)
#5F562C
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #126727; /* rgb */ color: rgb(18, 103, 39); /* oklch */ color: oklch(45.1% 0.125 146.9);
Tailwind
colors: {
custom: {
50: '#619363',
500: '#126727',
950: '#000000',
},
}SCSS
$custom: #126727; $custom-light: #619363; $custom-dark: #000000;
JSON
{
"hex": "#126727",
"rgb": {
"r": 18,
"g": 103,
"b": 39
},
"hsl": {
"h": 134.824,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45086,
"c": 0.12491,
"h": 146.9
},
"luminance": 0.09976
}Semantic roles & 50–950 ramp
primary
#126727
secondary
#9F3685
accent
#3BC1ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A