#126240#126240
#126240 is a dark, moderate teal. Relative luminance 0.092; OKLCH L 44.1% C 0.093 H 159.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #126240 |
|---|---|
| RGB | rgb(18, 98, 64) |
| HSL | hsl(155, 69%, 23%) |
| HSV | hsv(155, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 34.7%, 61.6%) |
| CIE-LAB | lab(36.43, -32.11, 12.88) |
| CIE-LCH | lch(36.43, 34.59, 158.14°) |
| OKLab | oklab(44.09% -0.0872 0.0326) |
| OKLCH | oklch(44.09% 0.093 159.5) |
| XYZ | xyz(5.5420, 9.2335, 6.3396) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 1.93
Pine
#2B5D34
ΔE00 4.61
Hunter Green
#355E3B
ΔE00 5.17
Forest Green
#2D5A27
ΔE00 7.56
Dark Green Blue
#1F6357
ΔE00 8.14
Evergreen
#05472A
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126240 #621234
analogous
#126218 #126240 #125C62
triadic
#126240 #401262 #624012
tetradic
#126240 #181262 #621234 #5C6212
square
#126240 #181262 #621234 #5C6212
split-complementary
#126240 #62125C #621812
monochromatic
#051A11 #092E1E #126240 #1B9662 #25C984
Accessibility & contrast
On white
7.38
#126240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#126240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126240
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126240 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#006159
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #126240; /* rgb */ color: rgb(18, 98, 64); /* oklch */ color: oklch(44.1% 0.093 159.5);
Tailwind
colors: {
custom: {
50: '#5f8f75',
500: '#126240',
950: '#000000',
},
}SCSS
$custom: #126240; $custom-light: #5f8f75; $custom-dark: #000000;
JSON
{
"hex": "#126240",
"rgb": {
"r": 18,
"g": 98,
"b": 64
},
"hsl": {
"h": 154.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.4409,
"c": 0.09305,
"h": 159.5
},
"luminance": 0.09234
}Semantic roles & 50–950 ramp
primary
#126240
secondary
#9A3660
accent
#3C87EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B