#126C4E#126C4E
#126C4E is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.3% C 0.094 H 164.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #126C4E |
|---|---|
| RGB | rgb(18, 108, 78) |
| HSL | hsl(160, 71%, 25%) |
| HSV | hsv(160, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 27.8%, 57.6%) |
| CIE-LAB | lab(40.25, -33.01, 9.74) |
| CIE-LCH | lch(40.25, 34.42, 163.57°) |
| OKLab | oklab(47.34% -0.0906 0.0248) |
| OKLCH | oklch(47.34% 0.094 164.7) |
| XYZ | xyz(6.9864, 11.4029, 9.0390) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.57
Dark Green Blue
#1F6357
ΔE00 7.04
Hunter Green
#355E3B
ΔE00 7.56
Pine
#2B5D34
ΔE00 7.69
Dark Sea Green
#11875D
ΔE00 9.64
Jungle Green
#048243
ΔE00 10.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C4E #6C1230
analogous
#126C21 #126C4E #125D6C
triadic
#126C4E #4E126C #6C4E12
tetradic
#126C4E #21126C #6C1230 #5D6C12
square
#126C4E #21126C #6C1230 #5D6C12
split-complementary
#126C4E #6C125D #6C2112
monochromatic
#041A13 #093828 #126C4E #1BA074 #23D59A
Accessibility & contrast
On white
6.40
#126C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#126C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C4E
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C4E | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#5F5C50
Tritanopia (blue-blind)
#006C64
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126c4e; /* rgb */ color: rgb(18, 108, 78); /* oklch */ color: oklch(47.3% 0.094 164.7);
Tailwind
colors: {
custom: {
50: '#61977f',
500: '#126c4e',
950: '#000000',
},
}SCSS
$custom: #126c4e; $custom-light: #61977f; $custom-dark: #000000;
JSON
{
"hex": "#126c4e",
"rgb": {
"r": 18,
"g": 108,
"b": 78
},
"hsl": {
"h": 160,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.47339,
"c": 0.09396,
"h": 164.7
},
"luminance": 0.11404
}Semantic roles & 50–950 ramp
primary
#126C4E
secondary
#A3365B
accent
#3A76EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C