#125D2A#125D2A

#125D2A is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.108 H 149.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#125D2A
RGBrgb(18, 93, 42)
HSLhsl(139, 68%, 22%)
HSVhsv(139, 81%, 36%)
CMYKcmyk(80.6%, 0%, 54.8%, 63.5%)
CIE-LABlab(34.24, -34.58, 22.93)
CIE-LCHlch(34.24, 41.49, 146.46°)
OKLaboklab(42.15% -0.093 0.0555)
OKLCHoklch(42.15% 0.108 149.2)
XYZxyz(4.5814, 8.1239, 3.5167)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2A #5D1245
analogous
#205D12 #125D2A #125D50
triadic
#125D2A #2A125D #5D2A12
tetradic
#125D2A #12205D #5D1245 #5D5012
square
#125D2A #12205D #5D1245 #5D5012
split-complementary
#125D2A #50125D #5D1220
monochromatic
#051A0C #082A13 #125D2A #1C9041 #26C458

Accessibility & contrast

On white

8.00
#125D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D2A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D2A#FFFFFF#000000##FFFFFF
##125D2A1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d2a;
/* rgb */ color: rgb(18, 93, 42);
/* oklch */ color: oklch(42.1% 0.108 149.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c65',
    500: '#125d2a',
    950: '#000000',
  },
}
SCSS
$custom: #125d2a;
$custom-light: #5e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2a",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 42
  },
  "hsl": {
    "h": 139.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.10826,
    "h": 149.2
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#125D2A
secondary
#953577
accent
#3DB3EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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