#126D4F#126D4F

#126D4F is a mid, moderate teal. Relative luminance 0.116; OKLCH L 47.7% C 0.094 H 164.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#126D4F
RGBrgb(18, 109, 79)
HSLhsl(160, 72%, 25%)
HSVhsv(160, 83%, 43%)
CMYKcmyk(83.5%, 0%, 27.5%, 57.3%)
CIE-LABlab(40.62, -33.20, 9.66)
CIE-LCHlch(40.62, 34.57, 163.78°)
OKLaboklab(47.65% -0.0912 0.0246)
OKLCHoklch(47.65% 0.094 164.9)
XYZxyz(7.1286, 11.6295, 9.2646)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D4F #6D1230
analogous
#126D22 #126D4F #125E6D
triadic
#126D4F #4F126D #6D4F12
tetradic
#126D4F #22126D #6D1230 #5E6D12
square
#126D4F #22126D #6D1230 #5E6D12
split-complementary
#126D4F #6D125E #6D2212
monochromatic
#041A13 #093829 #126D4F #1BA275 #23D69B

Accessibility & contrast

On white

6.31
#126D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#126D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D4F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D4F#FFFFFF#000000##FFFFFF
##126D4F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B644D
Deuteranopia (green-blind)
#605D51
Tritanopia (blue-blind)
#006D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126d4f;
/* rgb */ color: rgb(18, 109, 79);
/* oklch */ color: oklch(47.7% 0.094 164.9);
Tailwind
colors: {
  custom: {
    50: '#629780',
    500: '#126d4f',
    950: '#000000',
  },
}
SCSS
$custom: #126d4f;
$custom-light: #629780;
$custom-dark: #000000;
JSON
{
  "hex": "#126d4f",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 79
  },
  "hsl": {
    "h": 160.22,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.09443,
    "h": 164.9
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#126D4F
secondary
#A4375B
accent
#3975EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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