#126C45#126C45

#126C45 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.1% C 0.102 H 158.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#126C45
RGBrgb(18, 108, 69)
HSLhsl(154, 71%, 25%)
HSVhsv(154, 83%, 42%)
CMYKcmyk(83.3%, 0%, 36.1%, 57.6%)
CIE-LABlab(40.05, -35.21, 14.82)
CIE-LCHlch(40.05, 38.20, 157.17°)
OKLaboklab(47.11% -0.0953 0.0374)
OKLCHoklch(47.11% 0.102 158.6)
XYZxyz(6.6855, 11.2826, 7.4545)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C45 #6C1239
analogous
#126C18 #126C45 #12666C
triadic
#126C45 #45126C #6C4512
tetradic
#126C45 #18126C #6C1239 #666C12
square
#126C45 #18126C #6C1239 #666C12
split-complementary
#126C45 #6C1266 #6C1812
monochromatic
#041A11 #093823 #126C45 #1BA067 #23D588

Accessibility & contrast

On white

6.45
#126C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#126C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C45
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C45#FFFFFF#000000##FFFFFF
##126C451.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6343
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#006B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126c45;
/* rgb */ color: rgb(18, 108, 69);
/* oklch */ color: oklch(47.1% 0.102 158.6);
Tailwind
colors: {
  custom: {
    50: '#619779',
    500: '#126c45',
    950: '#000000',
  },
}
SCSS
$custom: #126c45;
$custom-light: #619779;
$custom-dark: #000000;
JSON
{
  "hex": "#126c45",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 69
  },
  "hsl": {
    "h": 154,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4711,
    "c": 0.10241,
    "h": 158.6
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#126C45
secondary
#A33666
accent
#3A88EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #126C45

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

Preview Lab → · Contrast checker → · Palette generator →

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