#125D1D#125D1D

#125D1D is a dark, vivid green. Relative luminance 0.080; OKLCH L 42.0% C 0.120 H 145.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#125D1D
RGBrgb(18, 93, 29)
HSLhsl(129, 68%, 22%)
HSVhsv(129, 81%, 36%)
CMYKcmyk(80.6%, 0%, 68.8%, 63.5%)
CIE-LABlab(34.08, -36.52, 29.62)
CIE-LCHlch(34.08, 47.02, 140.96°)
OKLaboklab(41.96% -0.0986 0.0689)
OKLCHoklch(41.96% 0.12 145)
XYZxyz(4.3853, 8.0455, 2.4840)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D1D #5D1252
analogous
#2D5D12 #125D1D #125D43
triadic
#125D1D #1D125D #5D1D12
tetradic
#125D1D #122D5D #5D1252 #5D4312
square
#125D1D #122D5D #5D1252 #5D4312
split-complementary
#125D1D #43125D #5D122D
monochromatic
#051A08 #082A0D #125D1D #1C902D #26C43D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125D1D#FFFFFF#000000##FFFFFF
##125D1D1.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)
#5F5415
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d1d;
/* rgb */ color: rgb(18, 93, 29);
/* oklch */ color: oklch(42.0% 0.120 145.0);
Tailwind
colors: {
  custom: {
    50: '#5e8c5c',
    500: '#125d1d',
    950: '#000000',
  },
}
SCSS
$custom: #125d1d;
$custom-light: #5e8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125d1d",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 29
  },
  "hsl": {
    "h": 128.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.12028,
    "h": 145
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#125D1D
secondary
#953587
accent
#3DD1EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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