#126F45#126F45

#126F45 is a mid, moderate teal. Relative luminance 0.119; OKLCH L 48.0% C 0.107 H 157.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#126F45
RGBrgb(18, 111, 69)
HSLhsl(153, 72%, 25%)
HSVhsv(153, 84%, 44%)
CMYKcmyk(83.8%, 0%, 37.8%, 56.5%)
CIE-LABlab(41.10, -36.46, 16.24)
CIE-LCHlch(41.10, 39.91, 155.99°)
OKLaboklab(47.97% -0.0985 0.0408)
OKLCHoklch(47.97% 0.107 157.5)
XYZxyz(7.0074, 11.9263, 7.5618)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F45 #6F123C
analogous
#126F16 #126F45 #126A6F
triadic
#126F45 #45126F #6F4512
tetradic
#126F45 #16126F #6F123C #6A6F12
square
#126F45 #16126F #6F123C #6A6F12
split-complementary
#126F45 #6F126A #6F1612
monochromatic
#041A10 #093A24 #126F45 #1BA466 #23D886

Accessibility & contrast

On white

6.20
#126F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#126F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F45
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F45#FFFFFF#000000##FFFFFF
##126F451.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6642
Deuteranopia (green-blind)
#635E48
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #126f45;
/* rgb */ color: rgb(18, 111, 69);
/* oklch */ color: oklch(48.0% 0.107 157.5);
Tailwind
colors: {
  custom: {
    50: '#629979',
    500: '#126f45',
    950: '#000000',
  },
}
SCSS
$custom: #126f45;
$custom-light: #629979;
$custom-dark: #000000;
JSON
{
  "hex": "#126f45",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 69
  },
  "hsl": {
    "h": 152.903,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.10664,
    "h": 157.5
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#126F45
secondary
#A63769
accent
#398BEF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #126F45

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

Preview Lab → · Contrast checker → · Palette generator →

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