#125E38#125E38

#125E38 is a dark, moderate teal. Relative luminance 0.084; OKLCH L 42.7% C 0.095 H 155.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#125E38
RGBrgb(18, 94, 56)
HSLhsl(150, 68%, 22%)
HSVhsv(150, 81%, 37%)
CMYKcmyk(80.9%, 0%, 40.4%, 63.1%)
CIE-LABlab(34.84, -32.22, 15.54)
CIE-LCHlch(34.84, 35.78, 154.25°)
OKLaboklab(42.73% -0.087 0.0389)
OKLCHoklch(42.73% 0.095 155.9)
XYZxyz(4.9655, 8.4189, 5.1039)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E38 #5E1238
analogous
#125E12 #125E38 #125E5E
triadic
#125E38 #38125E #5E3812
tetradic
#125E38 #12125E #5E1238 #5E5E12
square
#125E38 #12125E #5E1238 #5E5E12
split-complementary
#125E38 #5E125E #5E1212
monochromatic
#051A0F #082B19 #125E38 #1C9157 #26C575

Accessibility & contrast

On white

7.82
#125E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E38
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E38#FFFFFF#000000##FFFFFF
##125E381.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5635
Deuteranopia (green-blind)
#544F3B
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e38;
/* rgb */ color: rgb(18, 94, 56);
/* oklch */ color: oklch(42.7% 0.095 155.9);
Tailwind
colors: {
  custom: {
    50: '#5e8c6f',
    500: '#125e38',
    950: '#000000',
  },
}
SCSS
$custom: #125e38;
$custom-light: #5e8c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#125e38",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 56
  },
  "hsl": {
    "h": 150,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.0953,
    "h": 155.9
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#125E38
secondary
#963566
accent
#3D94EB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125E38

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

Preview Lab → · Contrast checker → · Palette generator →

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