#126B4F#126B4F

#126B4F is a mid, moderate teal. Relative luminance 0.112; OKLCH L 47.1% C 0.092 H 166.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#126B4F
RGBrgb(18, 107, 79)
HSLhsl(161, 71%, 25%)
HSVhsv(161, 83%, 42%)
CMYKcmyk(83.2%, 0%, 26.2%, 58%)
CIE-LABlab(39.93, -32.31, 8.68)
CIE-LCHlch(39.93, 33.46, 164.96°)
OKLaboklab(47.08% -0.089 0.0222)
OKLCHoklch(47.08% 0.092 166)
XYZxyz(6.9176, 11.2076, 9.1943)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126B4F #6B122E
analogous
#126B23 #126B4F #125B6B
triadic
#126B4F #4F126B #6B4F12
tetradic
#126B4F #23126B #6B122E #5B6B12
square
#126B4F #23126B #6B122E #5B6B12
split-complementary
#126B4F #6B125B #6B2312
monochromatic
#041A13 #093728 #126B4F #1B9F76 #24D49C

Accessibility & contrast

On white

6.48
#126B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#126B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126B4F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126B4F#FFFFFF#000000##FFFFFF
##126B4F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68634D
Deuteranopia (green-blind)
#5E5B51
Tritanopia (blue-blind)
#006B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126b4f;
/* rgb */ color: rgb(18, 107, 79);
/* oklch */ color: oklch(47.1% 0.092 166.0);
Tailwind
colors: {
  custom: {
    50: '#619680',
    500: '#126b4f',
    950: '#000000',
  },
}
SCSS
$custom: #126b4f;
$custom-light: #619680;
$custom-dark: #000000;
JSON
{
  "hex": "#126b4f",
  "rgb": {
    "r": 18,
    "g": 107,
    "b": 79
  },
  "hsl": {
    "h": 161.124,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.09173,
    "h": 166
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#126B4F
secondary
#A23658
accent
#3A73EE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #126B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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