#125E2A#125E2A

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

Color values

HEX#125E2A
RGBrgb(18, 94, 42)
HSLhsl(139, 68%, 22%)
HSVhsv(139, 81%, 37%)
CMYKcmyk(80.9%, 0%, 55.3%, 63.1%)
CIE-LABlab(34.60, -34.98, 23.37)
CIE-LCHlch(34.60, 42.07, 146.25°)
OKLaboklab(42.45% -0.094 0.0565)
OKLCHoklch(42.45% 0.11 149)
XYZxyz(4.6697, 8.3006, 3.5461)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2A #5E1246
analogous
#205E12 #125E2A #125E50
triadic
#125E2A #2A125E #5E2A12
tetradic
#125E2A #12205E #5E1246 #5E5012
square
#125E2A #12205E #5E1246 #5E5012
split-complementary
#125E2A #50125E #5E1220
monochromatic
#051A0B #082B13 #125E2A #1C9141 #26C558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125E2A#FFFFFF#000000##FFFFFF
##125E2A1.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)
#5F5526
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e2a;
/* rgb */ color: rgb(18, 94, 42);
/* oklch */ color: oklch(42.4% 0.110 149.0);
Tailwind
colors: {
  custom: {
    50: '#5e8c65',
    500: '#125e2a',
    950: '#000000',
  },
}
SCSS
$custom: #125e2a;
$custom-light: #5e8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2a",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 138.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.10968,
    "h": 149
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#125E2A
secondary
#963578
accent
#3DB4EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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