#125D2C#125D2C

#125D2C is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.106 H 150.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#125D2C
RGBrgb(18, 93, 44)
HSLhsl(141, 68%, 22%)
HSVhsv(141, 81%, 36%)
CMYKcmyk(80.6%, 0%, 52.7%, 63.5%)
CIE-LABlab(34.27, -34.23, 21.83)
CIE-LCHlch(34.27, 40.60, 147.47°)
OKLaboklab(42.19% -0.092 0.0531)
OKLCHoklch(42.19% 0.106 150)
XYZxyz(4.6180, 8.1386, 3.7099)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2C #5D1243
analogous
#1E5D12 #125D2C #125D52
triadic
#125D2C #2C125D #5D2C12
tetradic
#125D2C #121E5D #5D1243 #5D5212
square
#125D2C #121E5D #5D1243 #5D5212
split-complementary
#125D2C #52125D #5D121E
monochromatic
#051A0C #082A14 #125D2C #1C9044 #26C45D

Accessibility & contrast

On white

7.99
#125D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D2C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D2C#FFFFFF#000000##FFFFFF
##125D2C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d2c;
/* rgb */ color: rgb(18, 93, 44);
/* oklch */ color: oklch(42.2% 0.106 150.0);
Tailwind
colors: {
  custom: {
    50: '#5e8c66',
    500: '#125d2c',
    950: '#000000',
  },
}
SCSS
$custom: #125d2c;
$custom-light: #5e8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2c",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 44
  },
  "hsl": {
    "h": 140.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.10624,
    "h": 150
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#125D2C
secondary
#953574
accent
#3DAEEA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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