#126A4F#126A4F
#126A4F is a mid, moderate teal. Relative luminance 0.110; OKLCH L 46.8% C 0.090 H 166.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #126A4F |
|---|---|
| RGB | rgb(18, 106, 79) |
| HSL | hsl(162, 71%, 24%) |
| HSV | hsv(162, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 25.5%, 58.4%) |
| CIE-LAB | lab(39.58, -31.86, 8.20) |
| CIE-LCH | lch(39.58, 32.90, 165.58°) |
| OKLab | oklab(46.8% -0.0879 0.0209) |
| OKLCH | oklch(46.8% 0.09 166.6) |
| XYZ | xyz(6.8140, 11.0003, 9.1598) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.73
Dark Green Blue
#1F6357
ΔE00 5.98
Hunter Green
#355E3B
ΔE00 7.59
Pine
#2B5D34
ΔE00 7.87
Dark Blue Green
#005249
ΔE00 9.96
Dark Sea Green
#11875D
ΔE00 10.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A4F #6A122D
analogous
#126A23 #126A4F #12596A
triadic
#126A4F #4F126A #6A4F12
tetradic
#126A4F #23126A #6A122D #596A12
square
#126A4F #23126A #6A122D #596A12
split-complementary
#126A4F #6A1259 #6A2312
monochromatic
#041A13 #093628 #126A4F #1B9E76 #24D39D
Accessibility & contrast
On white
6.56
#126A4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#126A4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A4F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A4F | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67624E
Deuteranopia (green-blind)
#5D5A51
Tritanopia (blue-blind)
#006A62
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126a4f; /* rgb */ color: rgb(18, 106, 79); /* oklch */ color: oklch(46.8% 0.090 166.6);
Tailwind
colors: {
custom: {
50: '#619580',
500: '#126a4f',
950: '#000000',
},
}SCSS
$custom: #126a4f; $custom-light: #619580; $custom-dark: #000000;
JSON
{
"hex": "#126a4f",
"rgb": {
"r": 18,
"g": 106,
"b": 79
},
"hsl": {
"h": 161.591,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46796,
"c": 0.09038,
"h": 166.6
},
"luminance": 0.11001
}Semantic roles & 50–950 ramp
primary
#126A4F
secondary
#A23657
accent
#3A71EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C