#125E2C#125E2C

#125E2C is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.108 H 149.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#125E2C
RGBrgb(18, 94, 44)
HSLhsl(141, 68%, 22%)
HSVhsv(141, 81%, 37%)
CMYKcmyk(80.9%, 0%, 53.2%, 63.1%)
CIE-LABlab(34.63, -34.63, 22.29)
CIE-LCHlch(34.63, 41.18, 147.24°)
OKLaboklab(42.48% -0.0931 0.0541)
OKLCHoklch(42.48% 0.108 149.8)
XYZxyz(4.7064, 8.3153, 3.7394)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2C #5E1244
analogous
#1E5E12 #125E2C #125E52
triadic
#125E2C #2C125E #5E2C12
tetradic
#125E2C #121E5E #5E1244 #5E5212
square
#125E2C #121E5E #5E1244 #5E5212
split-complementary
#125E2C #52125E #5E121E
monochromatic
#051A0C #082B14 #125E2C #1C9144 #26C55C

Accessibility & contrast

On white

7.89
#125E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E2C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E2C#FFFFFF#000000##FFFFFF
##125E2C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5528
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e2c;
/* rgb */ color: rgb(18, 94, 44);
/* oklch */ color: oklch(42.5% 0.108 149.8);
Tailwind
colors: {
  custom: {
    50: '#5e8c66',
    500: '#125e2c',
    950: '#000000',
  },
}
SCSS
$custom: #125e2c;
$custom-light: #5e8c66;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2c",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 44
  },
  "hsl": {
    "h": 140.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.10768,
    "h": 149.8
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#125E2C
secondary
#963575
accent
#3DAFEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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