#125D3E#125D3E

#125D3E is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.6% C 0.088 H 160.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#125D3E
RGBrgb(18, 93, 62)
HSLhsl(155, 68%, 22%)
HSVhsv(155, 81%, 36%)
CMYKcmyk(80.6%, 0%, 33.3%, 63.5%)
CIE-LABlab(34.61, -30.39, 11.60)
CIE-LCHlch(34.61, 32.53, 159.11°)
OKLaboklab(42.58% -0.0827 0.0294)
OKLCHoklch(42.58% 0.088 160.4)
XYZxyz(5.0328, 8.3045, 5.8942)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D3E #5D1231
analogous
#125D19 #125D3E #12575D
triadic
#125D3E #3E125D #5D3E12
tetradic
#125D3E #19125D #5D1231 #575D12
square
#125D3E #19125D #5D1231 #575D12
split-complementary
#125D3E #5D1257 #5D1912
monochromatic
#051A11 #082A1C #125D3E #1C9060 #26C482

Accessibility & contrast

On white

7.89
#125D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125D3E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D3E#FFFFFF#000000##FFFFFF
##125D3E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C553C
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#005D55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d3e;
/* rgb */ color: rgb(18, 93, 62);
/* oklch */ color: oklch(42.6% 0.088 160.4);
Tailwind
colors: {
  custom: {
    50: '#5d8b73',
    500: '#125d3e',
    950: '#000000',
  },
}
SCSS
$custom: #125d3e;
$custom-light: #5d8b73;
$custom-dark: #000000;
JSON
{
  "hex": "#125d3e",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 62
  },
  "hsl": {
    "h": 155.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.08777,
    "h": 160.4
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#125D3E
secondary
#95355D
accent
#3D85EA
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #125D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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