#126E4F#126E4F

#126E4F is a mid, moderate teal. Relative luminance 0.118; OKLCH L 47.9% C 0.096 H 164.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#126E4F
RGBrgb(18, 110, 79)
HSLhsl(160, 72%, 25%)
HSVhsv(160, 84%, 43%)
CMYKcmyk(83.6%, 0%, 28.2%, 56.9%)
CIE-LABlab(40.97, -33.64, 10.14)
CIE-LCHlch(40.97, 35.13, 163.23°)
OKLaboklab(47.94% -0.0922 0.0259)
OKLCHoklch(47.94% 0.096 164.3)
XYZxyz(7.2358, 11.8441, 9.3004)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E4F #6E1231
analogous
#126E21 #126E4F #125F6E
triadic
#126E4F #4F126E #6E4F12
tetradic
#126E4F #21126E #6E1231 #5F6E12
square
#126E4F #21126E #6E1231 #5F6E12
split-complementary
#126E4F #6E125F #6E2112
monochromatic
#041A13 #093929 #126E4F #1BA375 #23D79B

Accessibility & contrast

On white

6.23
#126E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#126E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E4F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E4F#FFFFFF#000000##FFFFFF
##126E4F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C654D
Deuteranopia (green-blind)
#615D51
Tritanopia (blue-blind)
#006E66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126e4f;
/* rgb */ color: rgb(18, 110, 79);
/* oklch */ color: oklch(47.9% 0.096 164.3);
Tailwind
colors: {
  custom: {
    50: '#629880',
    500: '#126e4f',
    950: '#000000',
  },
}
SCSS
$custom: #126e4f;
$custom-light: #629880;
$custom-dark: #000000;
JSON
{
  "hex": "#126e4f",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 79
  },
  "hsl": {
    "h": 159.783,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.09579,
    "h": 164.3
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#126E4F
secondary
#A5375C
accent
#3976EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #126E4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#126E4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva