#125E20#125E20

#125E20 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.119 H 145.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#125E20
RGBrgb(18, 94, 32)
HSLhsl(131, 68%, 22%)
HSVhsv(131, 81%, 37%)
CMYKcmyk(80.9%, 0%, 66%, 63.1%)
CIE-LABlab(34.47, -36.51, 28.57)
CIE-LCHlch(34.47, 46.36, 141.96°)
OKLaboklab(42.3% -0.0984 0.067)
OKLCHoklch(42.3% 0.119 145.8)
XYZxyz(4.5125, 8.2378, 2.7184)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E20 #5E1250
analogous
#2A5E12 #125E20 #125E46
triadic
#125E20 #20125E #5E2012
tetradic
#125E20 #122A5E #5E1250 #5E4612
square
#125E20 #122A5E #5E1250 #5E4612
split-complementary
#125E20 #46125E #5E122A
monochromatic
#051A09 #082B0F #125E20 #1C9131 #26C543

Accessibility & contrast

On white

7.93
#125E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E20
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E20#FFFFFF#000000##FFFFFF
##125E201.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e20;
/* rgb */ color: rgb(18, 94, 32);
/* oklch */ color: oklch(42.3% 0.119 145.8);
Tailwind
colors: {
  custom: {
    50: '#5e8c5e',
    500: '#125e20',
    950: '#000000',
  },
}
SCSS
$custom: #125e20;
$custom-light: #5e8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#125e20",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 131.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.11907,
    "h": 145.8
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#125E20
secondary
#963584
accent
#3DCBEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E20

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

Preview Lab → · Contrast checker → · Palette generator →

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