#126D52#126D52

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

Color values

HEX#126D52
RGBrgb(18, 109, 82)
HSLhsl(162, 72%, 25%)
HSVhsv(162, 83%, 43%)
CMYKcmyk(83.5%, 0%, 24.8%, 57.3%)
CIE-LABlab(40.69, -32.42, 7.96)
CIE-LCHlch(40.69, 33.38, 166.21°)
OKLaboklab(47.74% -0.0896 0.0203)
OKLCHoklch(47.74% 0.092 167.2)
XYZxyz(7.2402, 11.6742, 9.8528)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D52 #6D122D
analogous
#126D25 #126D52 #125B6D
triadic
#126D52 #52126D #6D5212
tetradic
#126D52 #25126D #6D122D #5B6D12
square
#126D52 #25126D #6D122D #5B6D12
split-complementary
#126D52 #6D125B #6D2512
monochromatic
#041A14 #09382A #126D52 #1BA27A #23D6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126D52#FFFFFF#000000##FFFFFF
##126D521.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d52;
/* rgb */ color: rgb(18, 109, 82);
/* oklch */ color: oklch(47.7% 0.092 167.2);
Tailwind
colors: {
  custom: {
    50: '#629782',
    500: '#126d52',
    950: '#000000',
  },
}
SCSS
$custom: #126d52;
$custom-light: #629782;
$custom-dark: #000000;
JSON
{
  "hex": "#126d52",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 82
  },
  "hsl": {
    "h": 162.198,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.09186,
    "h": 167.2
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#126D52
secondary
#A43757
accent
#396FEE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126D52

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

Preview Lab → · Contrast checker → · Palette generator →

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