#126E45#126E45

#126E45 is a mid, moderate teal. Relative luminance 0.117; OKLCH L 47.7% C 0.105 H 157.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#126E45
RGBrgb(18, 110, 69)
HSLhsl(153, 72%, 25%)
HSVhsv(153, 84%, 43%)
CMYKcmyk(83.6%, 0%, 37.3%, 56.9%)
CIE-LABlab(40.75, -36.04, 15.77)
CIE-LCHlch(40.75, 39.34, 156.37°)
OKLaboklab(47.69% -0.0975 0.0397)
OKLCHoklch(47.69% 0.105 157.9)
XYZxyz(6.8989, 11.7093, 7.5256)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E45 #6E123B
analogous
#126E17 #126E45 #12696E
triadic
#126E45 #45126E #6E4512
tetradic
#126E45 #17126E #6E123B #696E12
square
#126E45 #17126E #6E123B #696E12
split-complementary
#126E45 #6E1269 #6E1712
monochromatic
#041A10 #093924 #126E45 #1BA366 #23D787

Accessibility & contrast

On white

6.28
#126E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#126E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E45
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E45#FFFFFF#000000##FFFFFF
##126E451.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6542
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126e45;
/* rgb */ color: rgb(18, 110, 69);
/* oklch */ color: oklch(47.7% 0.105 157.9);
Tailwind
colors: {
  custom: {
    50: '#629879',
    500: '#126e45',
    950: '#000000',
  },
}
SCSS
$custom: #126e45;
$custom-light: #629879;
$custom-dark: #000000;
JSON
{
  "hex": "#126e45",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 69
  },
  "hsl": {
    "h": 153.261,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.10524,
    "h": 157.9
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#126E45
secondary
#A53768
accent
#398AEF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126E45

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

Preview Lab → · Contrast checker → · Palette generator →

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