#126242#126242
#126242 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.1% C 0.091 H 160.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #126242 |
|---|---|
| RGB | rgb(18, 98, 66) |
| HSL | hsl(156, 69%, 23%) |
| HSV | hsv(156, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 32.7%, 61.6%) |
| CIE-LAB | lab(36.47, -31.62, 11.73) |
| CIE-LCH | lch(36.47, 33.73, 159.65°) |
| OKLab | oklab(44.14% -0.0861 0.0298) |
| OKLCH | oklch(44.14% 0.091 160.9) |
| XYZ | xyz(5.5999, 9.2566, 6.6448) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 2.49
Pine
#2B5D34
ΔE00 5.04
Hunter Green
#355E3B
ΔE00 5.38
Dark Green Blue
#1F6357
ΔE00 7.52
Forest Green
#2D5A27
ΔE00 8.06
Evergreen
#05472A
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126242 #621232
analogous
#12621A #126242 #125A62
triadic
#126242 #421262 #624212
tetradic
#126242 #1A1262 #621232 #5A6212
square
#126242 #1A1262 #621232 #5A6212
split-complementary
#126242 #62125A #621A12
monochromatic
#051A11 #092E1F #126242 #1B9665 #25C988
Accessibility & contrast
On white
7.36
#126242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#126242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126242
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126242 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A40
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#006259
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #126242; /* rgb */ color: rgb(18, 98, 66); /* oklch */ color: oklch(44.1% 0.091 160.9);
Tailwind
colors: {
custom: {
50: '#5f8f76',
500: '#126242',
950: '#000000',
},
}SCSS
$custom: #126242; $custom-light: #5f8f76; $custom-dark: #000000;
JSON
{
"hex": "#126242",
"rgb": {
"r": 18,
"g": 98,
"b": 66
},
"hsl": {
"h": 156,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.4414,
"c": 0.0911,
"h": 160.9
},
"luminance": 0.09257
}Semantic roles & 50–950 ramp
primary
#126242
secondary
#9A365E
accent
#3C82EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B