#125D1E#125D1E

#125D1E is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.119 H 145.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#125D1E
RGBrgb(18, 93, 30)
HSLhsl(130, 68%, 22%)
HSVhsv(130, 81%, 36%)
CMYKcmyk(80.6%, 0%, 67.7%, 63.5%)
CIE-LABlab(34.09, -36.39, 29.14)
CIE-LCHlch(34.09, 46.62, 141.32°)
OKLaboklab(41.98% -0.0982 0.068)
OKLCHoklch(41.98% 0.119 145.3)
XYZxyz(4.3978, 8.0505, 2.5502)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D1E #5D1251
analogous
#2C5D12 #125D1E #125D44
triadic
#125D1E #1E125D #5D1E12
tetradic
#125D1E #122C5D #5D1251 #5D4412
square
#125D1E #122C5D #5D1251 #5D4412
split-complementary
#125D1E #44125D #5D122C
monochromatic
#051A08 #082A0D #125D1E #1C902F #26C43F

Accessibility & contrast

On white

8.05
#125D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125D1E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D1E#FFFFFF#000000##FFFFFF
##125D1E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5417
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d1e;
/* rgb */ color: rgb(18, 93, 30);
/* oklch */ color: oklch(42.0% 0.119 145.3);
Tailwind
colors: {
  custom: {
    50: '#5e8c5d',
    500: '#125d1e',
    950: '#000000',
  },
}
SCSS
$custom: #125d1e;
$custom-light: #5e8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125d1e",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 30
  },
  "hsl": {
    "h": 129.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.11944,
    "h": 145.3
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#125D1E
secondary
#953586
accent
#3DCFEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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