#126542#126542
#126542 is a mid, moderate teal. Relative luminance 0.098; OKLCH L 45.0% C 0.095 H 159.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #126542 |
|---|---|
| RGB | rgb(18, 101, 66) |
| HSL | hsl(155, 70%, 23%) |
| HSV | hsv(155, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 34.7%, 60.4%) |
| CIE-LAB | lab(37.53, -32.93, 13.18) |
| CIE-LCH | lch(37.53, 35.47, 158.18°) |
| OKLab | oklab(45.01% -0.0894 0.0333) |
| OKLCH | oklch(45.01% 0.095 159.6) |
| XYZ | xyz(5.8859, 9.8286, 6.7401) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.49
Pine
#2B5D34
ΔE00 5.02
Hunter Green
#355E3B
ΔE00 5.52
Forest Green
#2D5A27
ΔE00 7.90
Dark Green Blue
#1F6357
ΔE00 8.31
Evergreen
#05472A
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126542 #651235
analogous
#126518 #126542 #125E65
triadic
#126542 #421265 #654212
tetradic
#126542 #181265 #651235 #5E6512
square
#126542 #181265 #651235 #5E6512
split-complementary
#126542 #65125E #651812
monochromatic
#051A11 #093120 #126542 #1B9964 #25CD86
Accessibility & contrast
On white
7.08
#126542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#126542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126542
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126542 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#5A5544
Tritanopia (blue-blind)
#00645C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #126542; /* rgb */ color: rgb(18, 101, 66); /* oklch */ color: oklch(45.0% 0.095 159.6);
Tailwind
colors: {
custom: {
50: '#5f9276',
500: '#126542',
950: '#000000',
},
}SCSS
$custom: #126542; $custom-light: #5f9276; $custom-dark: #000000;
JSON
{
"hex": "#126542",
"rgb": {
"r": 18,
"g": 101,
"b": 66
},
"hsl": {
"h": 154.699,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.45013,
"c": 0.0954,
"h": 159.6
},
"luminance": 0.09829
}Semantic roles & 50–950 ramp
primary
#126542
secondary
#9D3661
accent
#3B86ED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B