#125C4B#125C4B

#125C4B is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.7% C 0.075 H 173.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#125C4B
RGBrgb(18, 92, 75)
HSLhsl(166, 67%, 22%)
HSVhsv(166, 80%, 36%)
CMYKcmyk(80.4%, 0%, 18.5%, 63.9%)
CIE-LABlab(34.58, -26.45, 3.53)
CIE-LCHlch(34.58, 26.68, 172.39°)
OKLaboklab(42.66% -0.0745 0.0089)
OKLCHoklch(42.66% 0.075 173.2)
XYZxyz(5.3459, 8.2902, 7.9737)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C4B #5C1223
analogous
#125C26 #125C4B #12485C
triadic
#125C4B #4B125C #5C4B12
tetradic
#125C4B #26125C #5C1223 #485C12
square
#125C4B #26125C #5C1223 #485C12
split-complementary
#125C4B #5C1248 #5C2612
monochromatic
#051A15 #082921 #125C4B #1C8F75 #26C29E

Accessibility & contrast

On white

7.90
#125C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C4B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C4B#FFFFFF#000000##FFFFFF
##125C4B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59554A
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#005D57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125c4b;
/* rgb */ color: rgb(18, 92, 75);
/* oklch */ color: oklch(42.7% 0.075 173.2);
Tailwind
colors: {
  custom: {
    50: '#5e8b7d',
    500: '#125c4b',
    950: '#000000',
  },
}
SCSS
$custom: #125c4b;
$custom-light: #5e8b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#125c4b",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 75
  },
  "hsl": {
    "h": 166.216,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.07507,
    "h": 173.2
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#125C4B
secondary
#94354B
accent
#3E65EA
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C09
muted
#797D7B

Preview Lab

Preview with #125C4B

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

Preview Lab → · Contrast checker → · Palette generator →

#125C4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva