#125E25#125E25

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

Color values

HEX#125E25
RGBrgb(18, 94, 37)
HSLhsl(135, 68%, 22%)
HSVhsv(135, 81%, 37%)
CMYKcmyk(80.9%, 0%, 60.6%, 63.1%)
CIE-LABlab(34.53, -35.79, 26.03)
CIE-LCHlch(34.53, 44.26, 143.97°)
OKLaboklab(42.37% -0.0963 0.062)
OKLCHoklch(42.37% 0.115 147.2)
XYZxyz(4.5857, 8.2670, 3.1039)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E25 #5E124B
analogous
#255E12 #125E25 #125E4B
triadic
#125E25 #25125E #5E2512
tetradic
#125E25 #12255E #5E124B #5E4B12
square
#125E25 #12255E #5E124B #5E4B12
split-complementary
#125E25 #4B125E #5E1225
monochromatic
#051A0A #082B11 #125E25 #1C9139 #26C54D

Accessibility & contrast

On white

7.91
#125E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E25
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E25#FFFFFF#000000##FFFFFF
##125E251.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551F
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e25;
/* rgb */ color: rgb(18, 94, 37);
/* oklch */ color: oklch(42.4% 0.115 147.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c61',
    500: '#125e25',
    950: '#000000',
  },
}
SCSS
$custom: #125e25;
$custom-light: #5e8c61;
$custom-dark: #000000;
JSON
{
  "hex": "#125e25",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 37
  },
  "hsl": {
    "h": 135,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.11452,
    "h": 147.2
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#125E25
secondary
#96357E
accent
#3DBFEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125E25

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

Preview Lab → · Contrast checker → · Palette generator →

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