#126C4B#126C4B
#126C4B is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.3% C 0.097 H 162.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #126C4B |
|---|---|
| RGB | rgb(18, 108, 75) |
| HSL | hsl(158, 71%, 25%) |
| HSV | hsv(158, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 30.6%, 57.6%) |
| CIE-LAB | lab(40.18, -33.77, 11.44) |
| CIE-LCH | lch(40.18, 35.66, 161.29°) |
| OKLab | oklab(47.26% -0.0922 0.0291) |
| OKLCH | oklch(47.26% 0.097 162.5) |
| XYZ | xyz(6.8813, 11.3609, 8.4854) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 5.01
Pine
#2B5D34
ΔE00 7.12
Hunter Green
#355E3B
ΔE00 7.19
Dark Green Blue
#1F6357
ΔE00 7.89
Dark Sea Green
#11875D
ΔE00 9.49
Jungle Green
#048243
ΔE00 9.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C4B #6C1233
analogous
#126C1E #126C4B #12606C
triadic
#126C4B #4B126C #6C4B12
tetradic
#126C4B #1E126C #6C1233 #606C12
square
#126C4B #1E126C #6C1233 #606C12
split-complementary
#126C4B #6C1260 #6C1E12
monochromatic
#041A12 #093827 #126C4B #1BA06F #23D594
Accessibility & contrast
On white
6.42
#126C4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#126C4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C4B
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C4B | 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)
#6A6349
Deuteranopia (green-blind)
#5F5C4D
Tritanopia (blue-blind)
#006C63
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126c4b; /* rgb */ color: rgb(18, 108, 75); /* oklch */ color: oklch(47.3% 0.097 162.5);
Tailwind
colors: {
custom: {
50: '#61977d',
500: '#126c4b',
950: '#000000',
},
}SCSS
$custom: #126c4b; $custom-light: #61977d; $custom-dark: #000000;
JSON
{
"hex": "#126c4b",
"rgb": {
"r": 18,
"g": 108,
"b": 75
},
"hsl": {
"h": 158,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.47259,
"c": 0.09668,
"h": 162.5
},
"luminance": 0.11362
}Semantic roles & 50–950 ramp
primary
#126C4B
secondary
#A3365E
accent
#3A7CEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D09
muted
#7A7E7B