#126E4B#126E4B

#126E4B is a mid, moderate teal. Relative luminance 0.118; OKLCH L 47.8% C 0.099 H 161.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#126E4B
RGBrgb(18, 110, 75)
HSLhsl(157, 72%, 25%)
HSVhsv(157, 84%, 43%)
CMYKcmyk(83.6%, 0%, 31.8%, 56.9%)
CIE-LABlab(40.88, -34.63, 12.40)
CIE-LCHlch(40.88, 36.79, 160.31°)
OKLaboklab(47.83% -0.0943 0.0315)
OKLCHoklch(47.83% 0.099 161.6)
XYZxyz(7.0946, 11.7876, 8.5566)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E4B #6E1235
analogous
#126E1D #126E4B #12636E
triadic
#126E4B #4B126E #6E4B12
tetradic
#126E4B #1D126E #6E1235 #636E12
square
#126E4B #1D126E #6E1235 #636E12
split-complementary
#126E4B #6E1263 #6E1D12
monochromatic
#041A12 #093927 #126E4B #1BA36F #23D793

Accessibility & contrast

On white

6.25
#126E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#126E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E4B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E4B#FFFFFF#000000##FFFFFF
##126E4B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6549
Deuteranopia (green-blind)
#615D4D
Tritanopia (blue-blind)
#006E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126e4b;
/* rgb */ color: rgb(18, 110, 75);
/* oklch */ color: oklch(47.8% 0.099 161.6);
Tailwind
colors: {
  custom: {
    50: '#62987d',
    500: '#126e4b',
    950: '#000000',
  },
}
SCSS
$custom: #126e4b;
$custom-light: #62987d;
$custom-dark: #000000;
JSON
{
  "hex": "#126e4b",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 75
  },
  "hsl": {
    "h": 157.174,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.09945,
    "h": 161.6
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#126E4B
secondary
#A53761
accent
#397EEF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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