#126F42#126F42
#126F42 is a mid, moderate teal. Relative luminance 0.119; OKLCH L 47.9% C 0.110 H 155.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #126F42 |
|---|---|
| RGB | rgb(18, 111, 66) |
| HSL | hsl(151, 72%, 25%) |
| HSV | hsv(151, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 40.5%, 56.5%) |
| CIE-LAB | lab(41.04, -37.12, 17.91) |
| CIE-LCH | lch(41.04, 41.21, 154.24°) |
| OKLab | oklab(47.91% -0.1001 0.0447) |
| OKLCH | oklch(47.91% 0.11 155.9) |
| XYZ | xyz(6.9166, 11.8900, 7.0837) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.32
Pine
#2B5D34
ΔE00 6.79
Darkish Green
#287C37
ΔE00 6.97
Jungle Green
#048243
ΔE00 7.17
Hunter Green
#355E3B
ΔE00 7.49
Forest Green
#2D5A27
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F42 #6F123F
analogous
#126F14 #126F42 #126D6F
triadic
#126F42 #42126F #6F4212
tetradic
#126F42 #14126F #6F123F #6D6F12
square
#126F42 #14126F #6F123F #6D6F12
split-complementary
#126F42 #6F126D #6F1412
monochromatic
#041A10 #093A23 #126F42 #1BA461 #23D881
Accessibility & contrast
On white
6.22
#126F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#126F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F42
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F42 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E653F
Deuteranopia (green-blind)
#645E45
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #126f42; /* rgb */ color: rgb(18, 111, 66); /* oklch */ color: oklch(47.9% 0.110 155.9);
Tailwind
colors: {
custom: {
50: '#629977',
500: '#126f42',
950: '#000000',
},
}SCSS
$custom: #126f42; $custom-light: #629977; $custom-dark: #000000;
JSON
{
"hex": "#126f42",
"rgb": {
"r": 18,
"g": 111,
"b": 66
},
"hsl": {
"h": 150.968,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47906,
"c": 0.10962,
"h": 155.9
},
"luminance": 0.11891
}Semantic roles & 50–950 ramp
primary
#126F42
secondary
#A6376D
accent
#3991EF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B