#125E28#125E28

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

Color values

HEX#125E28
RGBrgb(18, 94, 40)
HSLhsl(137, 68%, 22%)
HSVhsv(137, 81%, 37%)
CMYKcmyk(80.9%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.57, -35.32, 24.45)
CIE-LCHlch(34.57, 42.95, 145.31°)
OKLaboklab(42.42% -0.095 0.0587)
OKLCHoklch(42.42% 0.112 148.3)
XYZxyz(4.6348, 8.2867, 3.3623)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E28 #5E1248
analogous
#225E12 #125E28 #125E4E
triadic
#125E28 #28125E #5E2812
tetradic
#125E28 #12225E #5E1248 #5E4E12
square
#125E28 #12225E #5E1248 #5E4E12
split-complementary
#125E28 #4E125E #5E1222
monochromatic
#051A0B #082B12 #125E28 #1C913E #26C554

Accessibility & contrast

On white

7.90
#125E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E28
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E28#FFFFFF#000000##FFFFFF
##125E281.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e28;
/* rgb */ color: rgb(18, 94, 40);
/* oklch */ color: oklch(42.4% 0.112 148.3);
Tailwind
colors: {
  custom: {
    50: '#5e8c63',
    500: '#125e28',
    950: '#000000',
  },
}
SCSS
$custom: #125e28;
$custom-light: #5e8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#125e28",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 137.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.11165,
    "h": 148.3
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#125E28
secondary
#96357A
accent
#3DB8EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125E28

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

Preview Lab → · Contrast checker → · Palette generator →

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