#125E1D#125E1D

#125E1D is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.3% C 0.122 H 145.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#125E1D
RGBrgb(18, 94, 29)
HSLhsl(129, 68%, 22%)
HSVhsv(129, 81%, 37%)
CMYKcmyk(80.9%, 0%, 69.1%, 63.1%)
CIE-LABlab(34.44, -36.89, 30.02)
CIE-LCHlch(34.44, 47.56, 140.86°)
OKLaboklab(42.27% -0.0996 0.0698)
OKLCHoklch(42.27% 0.122 145)
XYZxyz(4.4736, 8.2222, 2.5134)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E1D #5E1253
analogous
#2D5E12 #125E1D #125E43
triadic
#125E1D #1D125E #5E1D12
tetradic
#125E1D #122D5E #5E1253 #5E4312
square
#125E1D #122D5E #5E1253 #5E4312
split-complementary
#125E1D #43125E #5E122D
monochromatic
#051A08 #082B0D #125E1D #1C912D #26C53D

Accessibility & contrast

On white

7.94
#125E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E1D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E1D#FFFFFF#000000##FFFFFF
##125E1D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605515
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e1d;
/* rgb */ color: rgb(18, 94, 29);
/* oklch */ color: oklch(42.3% 0.122 145.0);
Tailwind
colors: {
  custom: {
    50: '#5f8c5c',
    500: '#125e1d',
    950: '#000000',
  },
}
SCSS
$custom: #125e1d;
$custom-light: #5f8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125e1d",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 29
  },
  "hsl": {
    "h": 128.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.1216,
    "h": 145
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#125E1D
secondary
#963588
accent
#3DD2EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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