#125B1D#125B1D

#125B1D is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.118 H 145.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#125B1D
RGBrgb(18, 91, 29)
HSLhsl(129, 67%, 21%)
HSVhsv(129, 80%, 36%)
CMYKcmyk(80.2%, 0%, 68.1%, 64.3%)
CIE-LABlab(33.35, -35.77, 28.80)
CIE-LCHlch(33.35, 45.92, 141.16°)
OKLaboklab(41.36% -0.0965 0.0672)
OKLCHoklch(41.36% 0.118 145.2)
XYZxyz(4.2120, 7.6990, 2.4262)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B1D #5B1250
analogous
#2C5B12 #125B1D #125B42
triadic
#125B1D #1D125B #5B1D12
tetradic
#125B1D #122C5B #5B1250 #5B4212
square
#125B1D #122C5B #5B1250 #5B4212
split-complementary
#125B1D #42125B #5B122C
monochromatic
#051A08 #08280D #125B1D #1C8E2D #26C13E

Accessibility & contrast

On white

8.27
#125B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125B1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B1D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B1D#FFFFFF#000000##FFFFFF
##125B1D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5216
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b1d;
/* rgb */ color: rgb(18, 91, 29);
/* oklch */ color: oklch(41.4% 0.118 145.2);
Tailwind
colors: {
  custom: {
    50: '#5e8a5c',
    500: '#125b1d',
    950: '#000000',
  },
}
SCSS
$custom: #125b1d;
$custom-light: #5e8a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125b1d",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 29
  },
  "hsl": {
    "h": 129.041,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.11762,
    "h": 145.2
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#125B1D
secondary
#933585
accent
#3ED0EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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