#125D38#125D38

#125D38 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.4% C 0.094 H 156.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125D38
RGBrgb(18, 93, 56)
HSLhsl(150, 68%, 22%)
HSVhsv(150, 81%, 36%)
CMYKcmyk(80.6%, 0%, 39.8%, 63.5%)
CIE-LABlab(34.48, -31.80, 15.06)
CIE-LCHlch(34.48, 35.18, 154.65°)
OKLaboklab(42.43% -0.0859 0.0378)
OKLCHoklch(42.43% 0.094 156.3)
XYZxyz(4.8771, 8.2422, 5.0745)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D38 #5D1237
analogous
#125D13 #125D38 #125D5D
triadic
#125D38 #38125D #5D3812
tetradic
#125D38 #13125D #5D1237 #5D5D12
square
#125D38 #13125D #5D1237 #5D5D12
split-complementary
#125D38 #5D125D #5D1312
monochromatic
#051A0F #082A19 #125D38 #1C9057 #26C476

Accessibility & contrast

On white

7.93
#125D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D38
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D38#FFFFFF#000000##FFFFFF
##125D381.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5536
Deuteranopia (green-blind)
#534E3A
Tritanopia (blue-blind)
#005C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d38;
/* rgb */ color: rgb(18, 93, 56);
/* oklch */ color: oklch(42.4% 0.094 156.3);
Tailwind
colors: {
  custom: {
    50: '#5d8c6f',
    500: '#125d38',
    950: '#000000',
  },
}
SCSS
$custom: #125d38;
$custom-light: #5d8c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#125d38",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 56
  },
  "hsl": {
    "h": 150.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.09383,
    "h": 156.3
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#125D38
secondary
#953565
accent
#3D93EA
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125D38

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

Preview Lab → · Contrast checker → · Palette generator →

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