#126D51#126D51

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

Color values

HEX#126D51
RGBrgb(18, 109, 81)
HSLhsl(162, 72%, 25%)
HSVhsv(162, 83%, 43%)
CMYKcmyk(83.5%, 0%, 25.7%, 57.3%)
CIE-LABlab(40.67, -32.68, 8.52)
CIE-LCHlch(40.67, 33.77, 165.38°)
OKLaboklab(47.71% -0.0901 0.0218)
OKLCHoklch(47.71% 0.093 166.4)
XYZxyz(7.2025, 11.6591, 9.6538)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D51 #6D122E
analogous
#126D23 #126D51 #125C6D
triadic
#126D51 #51126D #6D5112
tetradic
#126D51 #23126D #6D122E #5C6D12
square
#126D51 #23126D #6D122E #5C6D12
split-complementary
#126D51 #6D125C #6D2312
monochromatic
#041A14 #09382A #126D51 #1BA278 #23D69F

Accessibility & contrast

On white

6.30
#126D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126D51
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D51#FFFFFF#000000##FFFFFF
##126D511.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A654F
Deuteranopia (green-blind)
#5F5D53
Tritanopia (blue-blind)
#006D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126d51;
/* rgb */ color: rgb(18, 109, 81);
/* oklch */ color: oklch(47.7% 0.093 166.4);
Tailwind
colors: {
  custom: {
    50: '#629781',
    500: '#126d51',
    950: '#000000',
  },
}
SCSS
$custom: #126d51;
$custom-light: #629781;
$custom-dark: #000000;
JSON
{
  "hex": "#126d51",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 81
  },
  "hsl": {
    "h": 161.538,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.0927,
    "h": 166.4
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#126D51
secondary
#A43758
accent
#3971EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126D51

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

Preview Lab → · Contrast checker → · Palette generator →

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