#125D1A#125D1A

#125D1A is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.123 H 144.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#125D1A
RGBrgb(18, 93, 26)
HSLhsl(126, 68%, 22%)
HSVhsv(126, 81%, 36%)
CMYKcmyk(80.6%, 0%, 72%, 63.5%)
CIE-LABlab(34.05, -36.88, 31.02)
CIE-LCHlch(34.05, 48.19, 139.93°)
OKLaboklab(41.93% -0.0997 0.0715)
OKLCHoklch(41.93% 0.123 144.3)
XYZxyz(4.3500, 8.0314, 2.2980)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D1A #5D1255
analogous
#305D12 #125D1A #125D40
triadic
#125D1A #1A125D #5D1A12
tetradic
#125D1A #12305D #5D1255 #5D4012
square
#125D1A #12305D #5D1255 #5D4012
split-complementary
#125D1A #40125D #5D1230
monochromatic
#051A07 #082A0C #125D1A #1C9028 #26C437

Accessibility & contrast

On white

8.06
#125D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#125D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D1A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D1A#FFFFFF#000000##FFFFFF
##125D1A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d1a;
/* rgb */ color: rgb(18, 93, 26);
/* oklch */ color: oklch(41.9% 0.123 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e8c5a',
    500: '#125d1a',
    950: '#000000',
  },
}
SCSS
$custom: #125d1a;
$custom-light: #5e8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#125d1a",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 26
  },
  "hsl": {
    "h": 126.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41929,
    "c": 0.1227,
    "h": 144.3
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#125D1A
secondary
#95358B
accent
#3DD8EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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