#125E24#125E24

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

Color values

HEX#125E24
RGBrgb(18, 94, 36)
HSLhsl(134, 68%, 22%)
HSVhsv(134, 81%, 37%)
CMYKcmyk(80.9%, 0%, 61.7%, 63.1%)
CIE-LABlab(34.52, -35.94, 26.55)
CIE-LCHlch(34.52, 44.68, 143.55°)
OKLaboklab(42.36% -0.0967 0.063)
OKLCHoklch(42.36% 0.115 146.9)
XYZxyz(4.5703, 8.2608, 3.0224)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E24 #5E124C
analogous
#265E12 #125E24 #125E4A
triadic
#125E24 #24125E #5E2412
tetradic
#125E24 #12265E #5E124C #5E4A12
square
#125E24 #12265E #5E124C #5E4A12
split-complementary
#125E24 #4A125E #5E1226
monochromatic
#051A0A #082B10 #125E24 #1C9138 #26C54B

Accessibility & contrast

On white

7.92
#125E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E24
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E24#FFFFFF#000000##FFFFFF
##125E241.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e24;
/* rgb */ color: rgb(18, 94, 36);
/* oklch */ color: oklch(42.4% 0.115 146.9);
Tailwind
colors: {
  custom: {
    50: '#5e8c61',
    500: '#125e24',
    950: '#000000',
  },
}
SCSS
$custom: #125e24;
$custom-light: #5e8c61;
$custom-dark: #000000;
JSON
{
  "hex": "#125e24",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 36
  },
  "hsl": {
    "h": 134.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.11546,
    "h": 146.9
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#125E24
secondary
#96357F
accent
#3DC2EB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125E24

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

Preview Lab → · Contrast checker → · Palette generator →

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