#125C1D#125C1D

#125C1D is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.119 H 145.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#125C1D
RGBrgb(18, 92, 29)
HSLhsl(129, 67%, 22%)
HSVhsv(129, 80%, 36%)
CMYKcmyk(80.4%, 0%, 68.5%, 63.9%)
CIE-LABlab(33.71, -36.15, 29.21)
CIE-LCHlch(33.71, 46.47, 141.06°)
OKLaboklab(41.66% -0.0976 0.0681)
OKLCHoklch(41.66% 0.119 145.1)
XYZxyz(4.2981, 7.8711, 2.4549)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C1D #5C1251
analogous
#2C5C12 #125C1D #125C42
triadic
#125C1D #1D125C #5C1D12
tetradic
#125C1D #122C5C #5C1251 #5C4212
square
#125C1D #122C5C #5C1251 #5C4212
split-complementary
#125C1D #42125C #5C122C
monochromatic
#051A08 #08290D #125C1D #1C8F2D #26C23D

Accessibility & contrast

On white

8.16
#125C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125C1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C1D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C1D#FFFFFF#000000##FFFFFF
##125C1D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5315
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c1d;
/* rgb */ color: rgb(18, 92, 29);
/* oklch */ color: oklch(41.7% 0.119 145.1);
Tailwind
colors: {
  custom: {
    50: '#5e8b5c',
    500: '#125c1d',
    950: '#000000',
  },
}
SCSS
$custom: #125c1d;
$custom-light: #5e8b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125c1d",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 29
  },
  "hsl": {
    "h": 128.919,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41661,
    "c": 0.11895,
    "h": 145.1
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#125C1D
secondary
#943586
accent
#3ED1EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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