#126740#126740
#126740 is a mid, moderate teal. Relative luminance 0.102; OKLCH L 45.5% C 0.100 H 157.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #126740 |
|---|---|
| RGB | rgb(18, 103, 64) |
| HSL | hsl(152, 70%, 24%) |
| HSV | hsv(152, 83%, 40%) |
| CMYK | cmyk(82.5%, 0%, 37.9%, 59.6%) |
| CIE-LAB | lab(38.20, -34.25, 15.27) |
| CIE-LCH | lch(38.20, 37.50, 155.96°) |
| OKLab | oklab(45.55% -0.0926 0.0384) |
| OKLCH | oklch(45.55% 0.1 157.5) |
| XYZ | xyz(6.0245, 10.1985, 6.5005) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.66
Pine
#2B5D34
ΔE00 4.92
Hunter Green
#355E3B
ΔE00 5.68
Forest Green
#2D5A27
ΔE00 7.52
Dark Green Blue
#1F6357
ΔE00 9.43
Deep Green
#02590F
ΔE00 9.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126740 #671239
analogous
#126716 #126740 #126367
triadic
#126740 #401267 #674012
tetradic
#126740 #161267 #671239 #636712
square
#126740 #161267 #671239 #636712
split-complementary
#126740 #671263 #671612
monochromatic
#051A10 #093320 #126740 #1B9B60 #24CF81
Accessibility & contrast
On white
6.91
#126740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#126740 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126740
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126740 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E3D
Deuteranopia (green-blind)
#5C5743
Tritanopia (blue-blind)
#00665D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126740; /* rgb */ color: rgb(18, 103, 64); /* oklch */ color: oklch(45.5% 0.100 157.5);
Tailwind
colors: {
custom: {
50: '#609375',
500: '#126740',
950: '#000000',
},
}SCSS
$custom: #126740; $custom-light: #609375; $custom-dark: #000000;
JSON
{
"hex": "#126740",
"rgb": {
"r": 18,
"g": 103,
"b": 64
},
"hsl": {
"h": 152.471,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45546,
"c": 0.10025,
"h": 157.5
},
"luminance": 0.10199
}Semantic roles & 50–950 ramp
primary
#126740
secondary
#9F3666
accent
#3B8DED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B