#126C4A#126C4A
#126C4A is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.2% C 0.098 H 161.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #126C4A |
|---|---|
| RGB | rgb(18, 108, 74) |
| HSL | hsl(157, 71%, 25%) |
| HSV | hsv(157, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 31.5%, 57.6%) |
| CIE-LAB | lab(40.16, -34.02, 12.00) |
| CIE-LCH | lch(40.16, 36.07, 160.57°) |
| OKLab | oklab(47.23% -0.0927 0.0305) |
| OKLCH | oklch(47.23% 0.098 161.8) |
| XYZ | xyz(6.8473, 11.3473, 8.3066) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 4.85
Pine
#2B5D34
ΔE00 6.96
Hunter Green
#355E3B
ΔE00 7.09
Dark Green Blue
#1F6357
ΔE00 8.17
Dark Sea Green
#11875D
ΔE00 9.47
Jungle Green
#048243
ΔE00 9.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C4A #6C1234
analogous
#126C1D #126C4A #12616C
triadic
#126C4A #4A126C #6C4A12
tetradic
#126C4A #1D126C #6C1234 #616C12
square
#126C4A #1D126C #6C1234 #616C12
split-complementary
#126C4A #6C1261 #6C1D12
monochromatic
#041A12 #093826 #126C4A #1BA06E #23D592
Accessibility & contrast
On white
6.42
#126C4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#126C4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C4A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C4A | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6348
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#006C63
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126c4a; /* rgb */ color: rgb(18, 108, 74); /* oklch */ color: oklch(47.2% 0.098 161.8);
Tailwind
colors: {
custom: {
50: '#61977c',
500: '#126c4a',
950: '#000000',
},
}SCSS
$custom: #126c4a; $custom-light: #61977c; $custom-dark: #000000;
JSON
{
"hex": "#126c4a",
"rgb": {
"r": 18,
"g": 108,
"b": 74
},
"hsl": {
"h": 157.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.47233,
"c": 0.09761,
"h": 161.8
},
"luminance": 0.11348
}Semantic roles & 50–950 ramp
primary
#126C4A
secondary
#A33660
accent
#3A7EEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B