#125F42#125F42
#125F42 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.3% C 0.087 H 162.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #125F42 |
|---|---|
| RGB | rgb(18, 95, 66) |
| HSL | hsl(157, 68%, 22%) |
| HSV | hsv(157, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 30.5%, 62.7%) |
| CIE-LAB | lab(35.41, -30.29, 10.26) |
| CIE-LCH | lch(35.41, 31.98, 161.28°) |
| OKLab | oklab(43.27% -0.0828 0.0261) |
| OKLCH | oklch(43.27% 0.087 162.5) |
| XYZ | xyz(5.3245, 8.7057, 6.5530) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 3.10
Pine
#2B5D34
ΔE00 5.39
Hunter Green
#355E3B
ΔE00 5.52
Dark Green Blue
#1F6357
ΔE00 6.82
Evergreen
#05472A
ΔE00 7.69
Forest Green
#2D5A27
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F42 #5F122F
analogous
#125F1C #125F42 #12565F
triadic
#125F42 #42125F #5F4212
tetradic
#125F42 #1C125F #5F122F #565F12
square
#125F42 #1C125F #5F122F #565F12
split-complementary
#125F42 #5F1256 #5F1C12
monochromatic
#051A12 #082C1E #125F42 #1C9266 #25C689
Accessibility & contrast
On white
7.66
#125F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#125F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F42
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F42 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5740
Deuteranopia (green-blind)
#545044
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #125f42; /* rgb */ color: rgb(18, 95, 66); /* oklch */ color: oklch(43.3% 0.087 162.5);
Tailwind
colors: {
custom: {
50: '#5e8d76',
500: '#125f42',
950: '#000000',
},
}SCSS
$custom: #125f42; $custom-light: #5e8d76; $custom-dark: #000000;
JSON
{
"hex": "#125f42",
"rgb": {
"r": 18,
"g": 95,
"b": 66
},
"hsl": {
"h": 157.403,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.43266,
"c": 0.0868,
"h": 162.5
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#125F42
secondary
#97365A
accent
#3D7EEB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B