#125D1C#125D1C

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

Color values

HEX#125D1C
RGBrgb(18, 93, 28)
HSLhsl(128, 68%, 22%)
HSVhsv(128, 81%, 36%)
CMYKcmyk(80.6%, 0%, 69.9%, 63.5%)
CIE-LABlab(34.07, -36.64, 30.09)
CIE-LCHlch(34.07, 47.41, 140.61°)
OKLaboklab(41.95% -0.099 0.0698)
OKLCHoklch(41.95% 0.121 144.8)
XYZxyz(4.3731, 8.0406, 2.4199)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D1C #5D1253
analogous
#2E5D12 #125D1C #125D42
triadic
#125D1C #1C125D #5D1C12
tetradic
#125D1C #122E5D #5D1253 #5D4212
square
#125D1C #122E5D #5D1253 #5D4212
split-complementary
#125D1C #42125D #5D122E
monochromatic
#051A08 #082A0D #125D1C #1C902B #26C43B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125D1C#FFFFFF#000000##FFFFFF
##125D1C1.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)
#5F5414
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d1c;
/* rgb */ color: rgb(18, 93, 28);
/* oklch */ color: oklch(42.0% 0.121 144.8);
Tailwind
colors: {
  custom: {
    50: '#5e8c5b',
    500: '#125d1c',
    950: '#000000',
  },
}
SCSS
$custom: #125d1c;
$custom-light: #5e8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#125d1c",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 28
  },
  "hsl": {
    "h": 128,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.12111,
    "h": 144.8
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#125D1C
secondary
#953589
accent
#3DD3EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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