#126C42#126C42
#126C42 is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.0% C 0.105 H 156.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #126C42 |
|---|---|
| RGB | rgb(18, 108, 66) |
| HSL | hsl(152, 71%, 25%) |
| HSV | hsv(152, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 38.9%, 57.6%) |
| CIE-LAB | lab(39.99, -35.89, 16.51) |
| CIE-LCH | lch(39.99, 39.50, 155.30°) |
| OKLab | oklab(47.04% -0.0969 0.0414) |
| OKLCH | oklch(47.04% 0.105 156.9) |
| XYZ | xyz(6.5947, 11.2463, 6.9764) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 4.27
Pine
#2B5D34
ΔE00 6.04
Hunter Green
#355E3B
ΔE00 6.73
Darkish Green
#287C37
ΔE00 8.08
Forest Green
#2D5A27
ΔE00 8.31
Jungle Green
#048243
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C42 #6C123C
analogous
#126C15 #126C42 #12696C
triadic
#126C42 #42126C #6C4212
tetradic
#126C42 #15126C #6C123C #696C12
square
#126C42 #15126C #6C123C #696C12
split-complementary
#126C42 #6C1269 #6C1512
monochromatic
#041A10 #093822 #126C42 #1BA062 #23D582
Accessibility & contrast
On white
6.46
#126C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#126C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C42
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C42 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B633F
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #126c42; /* rgb */ color: rgb(18, 108, 66); /* oklch */ color: oklch(47.0% 0.105 156.9);
Tailwind
colors: {
custom: {
50: '#619776',
500: '#126c42',
950: '#000000',
},
}SCSS
$custom: #126c42; $custom-light: #619776; $custom-dark: #000000;
JSON
{
"hex": "#126c42",
"rgb": {
"r": 18,
"g": 108,
"b": 66
},
"hsl": {
"h": 152,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.47041,
"c": 0.10538,
"h": 156.9
},
"luminance": 0.11247
}Semantic roles & 50–950 ramp
primary
#126C42
secondary
#A33669
accent
#3A8EEE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B