#125E42#125E42
#125E42 is a dark, moderate teal. Relative luminance 0.085; OKLCH L 43.0% C 0.085 H 163.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #125E42 |
|---|---|
| RGB | rgb(18, 94, 66) |
| HSL | hsl(158, 68%, 22%) |
| HSV | hsv(158, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 29.8%, 63.1%) |
| CIE-LAB | lab(35.06, -29.83, 9.77) |
| CIE-LCH | lch(35.06, 31.39, 161.87°) |
| OKLab | oklab(42.97% -0.0817 0.0249) |
| OKLCH | oklch(42.97% 0.085 163.1) |
| XYZ | xyz(5.2350, 8.5267, 6.5231) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.39
Pine
#2B5D34
ΔE00 5.57
Hunter Green
#355E3B
ΔE00 5.63
Dark Green Blue
#1F6357
ΔE00 6.61
Evergreen
#05472A
ΔE00 7.43
Dark Blue Green
#005249
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E42 #5E122E
analogous
#125E1C #125E42 #12545E
triadic
#125E42 #42125E #5E4212
tetradic
#125E42 #1C125E #5E122E #545E12
square
#125E42 #1C125E #5E122E #545E12
split-complementary
#125E42 #5E1254 #5E1C12
monochromatic
#051A12 #082B1E #125E42 #1C9166 #26C58A
Accessibility & contrast
On white
7.76
#125E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#125E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E42
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E42 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5640
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#005E56
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125e42; /* rgb */ color: rgb(18, 94, 66); /* oklch */ color: oklch(43.0% 0.085 163.1);
Tailwind
colors: {
custom: {
50: '#5e8c76',
500: '#125e42',
950: '#000000',
},
}SCSS
$custom: #125e42; $custom-light: #5e8c76; $custom-dark: #000000;
JSON
{
"hex": "#125e42",
"rgb": {
"r": 18,
"g": 94,
"b": 66
},
"hsl": {
"h": 157.895,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42974,
"c": 0.08537,
"h": 163.1
},
"luminance": 0.08527
}Semantic roles & 50–950 ramp
primary
#125E42
secondary
#963559
accent
#3D7DEB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B