#125C3F#125C3F

#125C3F is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.3% C 0.085 H 161.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#125C3F
RGBrgb(18, 92, 63)
HSLhsl(156, 67%, 22%)
HSVhsv(156, 80%, 36%)
CMYKcmyk(80.4%, 0%, 31.5%, 63.9%)
CIE-LABlab(34.28, -29.69, 10.53)
CIE-LCHlch(34.28, 31.50, 160.48°)
OKLaboklab(42.31% -0.081 0.0268)
OKLCHoklch(42.31% 0.085 161.7)
XYZxyz(4.9733, 8.1412, 6.0110)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C3F #5C122F
analogous
#125C1A #125C3F #12545C
triadic
#125C3F #3F125C #5C3F12
tetradic
#125C3F #1A125C #5C122F #545C12
square
#125C3F #1A125C #5C122F #545C12
split-complementary
#125C3F #5C1254 #5C1A12
monochromatic
#051A12 #08291C #125C3F #1C8F62 #26C285

Accessibility & contrast

On white

7.99
#125C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C3F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C3F#FFFFFF#000000##FFFFFF
##125C3F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A553D
Deuteranopia (green-blind)
#514E41
Tritanopia (blue-blind)
#005C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125c3f;
/* rgb */ color: rgb(18, 92, 63);
/* oklch */ color: oklch(42.3% 0.085 161.7);
Tailwind
colors: {
  custom: {
    50: '#5d8b74',
    500: '#125c3f',
    950: '#000000',
  },
}
SCSS
$custom: #125c3f;
$custom-light: #5d8b74;
$custom-dark: #000000;
JSON
{
  "hex": "#125c3f",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 63
  },
  "hsl": {
    "h": 156.486,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.08533,
    "h": 161.7
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#125C3F
secondary
#94355B
accent
#3E81EA
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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