#126042#126042
#126042 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.088 H 161.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #126042 |
|---|---|
| RGB | rgb(18, 96, 66) |
| HSL | hsl(157, 68%, 22%) |
| HSV | hsv(157, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 31.3%, 62.4%) |
| CIE-LAB | lab(35.77, -30.73, 10.75) |
| CIE-LCH | lch(35.77, 32.56, 160.71°) |
| OKLab | oklab(43.56% -0.0839 0.0273) |
| OKLCH | oklch(43.56% 0.088 161.9) |
| XYZ | xyz(5.4151, 8.8870, 6.5832) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.84
Pine
#2B5D34
ΔE00 5.24
Hunter Green
#355E3B
ΔE00 5.44
Dark Green Blue
#1F6357
ΔE00 7.04
Evergreen
#05472A
ΔE00 7.96
Forest Green
#2D5A27
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126042 #601230
analogous
#12601B #126042 #125760
triadic
#126042 #421260 #604212
tetradic
#126042 #1B1260 #601230 #576012
square
#126042 #1B1260 #601230 #576012
split-complementary
#126042 #601257 #601B12
monochromatic
#051A12 #082C1F #126042 #1C9465 #25C789
Accessibility & contrast
On white
7.56
#126042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#126042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126042
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126042 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5840
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126042; /* rgb */ color: rgb(18, 96, 66); /* oklch */ color: oklch(43.6% 0.088 161.9);
Tailwind
colors: {
custom: {
50: '#5e8e76',
500: '#126042',
950: '#000000',
},
}SCSS
$custom: #126042; $custom-light: #5e8e76; $custom-dark: #000000;
JSON
{
"hex": "#126042",
"rgb": {
"r": 18,
"g": 96,
"b": 66
},
"hsl": {
"h": 156.923,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43558,
"c": 0.08823,
"h": 161.9
},
"luminance": 0.08888
}Semantic roles & 50–950 ramp
primary
#126042
secondary
#98365C
accent
#3D80EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B