#126142#126142
#126142 is a dark, moderate teal. Relative luminance 0.091; OKLCH L 43.8% C 0.090 H 161.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #126142 |
|---|---|
| RGB | rgb(18, 97, 66) |
| HSL | hsl(156, 69%, 23%) |
| HSV | hsv(156, 81%, 38%) |
| CMYK | cmyk(81.4%, 0%, 32%, 62%) |
| CIE-LAB | lab(36.12, -31.18, 11.24) |
| CIE-LCH | lch(36.12, 33.15, 160.17°) |
| OKLab | oklab(43.85% -0.085 0.0286) |
| OKLCH | oklch(43.85% 0.09 161.4) |
| XYZ | xyz(5.5069, 9.0707, 6.6138) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.64
Pine
#2B5D34
ΔE00 5.12
Hunter Green
#355E3B
ΔE00 5.40
Dark Green Blue
#1F6357
ΔE00 7.28
Forest Green
#2D5A27
ΔE00 8.16
Evergreen
#05472A
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126142 #611231
analogous
#12611B #126142 #125861
triadic
#126142 #421261 #614212
tetradic
#126142 #1B1261 #611231 #586112
square
#126142 #1B1261 #611231 #586112
split-complementary
#126142 #611258 #611B12
monochromatic
#051A12 #082D1F #126142 #1C9565 #25C888
Accessibility & contrast
On white
7.46
#126142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#126142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126142
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126142 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5940
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#006159
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #126142; /* rgb */ color: rgb(18, 97, 66); /* oklch */ color: oklch(43.8% 0.090 161.4);
Tailwind
colors: {
custom: {
50: '#5e8e76',
500: '#126142',
950: '#000000',
},
}SCSS
$custom: #126142; $custom-light: #5e8e76; $custom-dark: #000000;
JSON
{
"hex": "#126142",
"rgb": {
"r": 18,
"g": 97,
"b": 66
},
"hsl": {
"h": 156.456,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.43849,
"c": 0.08967,
"h": 161.4
},
"luminance": 0.09071
}Semantic roles & 50–950 ramp
primary
#126142
secondary
#99365D
accent
#3C81EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B