#126040#126040
#126040 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.5% C 0.090 H 160.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #126040 |
|---|---|
| RGB | rgb(18, 96, 64) |
| HSL | hsl(155, 68%, 22%) |
| HSV | hsv(155, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 33.3%, 62.4%) |
| CIE-LAB | lab(35.72, -31.23, 11.91) |
| CIE-LCH | lch(35.72, 33.42, 159.13°) |
| OKLab | oklab(43.51% -0.085 0.0302) |
| OKLCH | oklch(43.51% 0.09 160.4) |
| XYZ | xyz(5.3572, 8.8639, 6.2780) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.20
Pine
#2B5D34
ΔE00 4.74
Hunter Green
#355E3B
ΔE00 5.17
Dark Green Blue
#1F6357
ΔE00 7.68
Forest Green
#2D5A27
ΔE00 7.74
Evergreen
#05472A
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126040 #601232
analogous
#126019 #126040 #125960
triadic
#126040 #401260 #604012
tetradic
#126040 #191260 #601232 #596012
square
#126040 #191260 #601232 #596012
split-complementary
#126040 #601259 #601912
monochromatic
#051A11 #082C1E #126040 #1C9462 #25C785
Accessibility & contrast
On white
7.57
#126040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#126040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126040
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126040 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F583E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126040; /* rgb */ color: rgb(18, 96, 64); /* oklch */ color: oklch(43.5% 0.090 160.4);
Tailwind
colors: {
custom: {
50: '#5e8e75',
500: '#126040',
950: '#000000',
},
}SCSS
$custom: #126040; $custom-light: #5e8e75; $custom-dark: #000000;
JSON
{
"hex": "#126040",
"rgb": {
"r": 18,
"g": 96,
"b": 64
},
"hsl": {
"h": 155.385,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43506,
"c": 0.09016,
"h": 160.4
},
"luminance": 0.08865
}Semantic roles & 50–950 ramp
primary
#126040
secondary
#98365E
accent
#3D84EB
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B