#125C20#125C20

#125C20 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.116 H 145.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#125C20
RGBrgb(18, 92, 32)
HSLhsl(131, 67%, 22%)
HSVhsv(131, 80%, 36%)
CMYKcmyk(80.4%, 0%, 65.2%, 63.9%)
CIE-LABlab(33.75, -35.75, 27.74)
CIE-LCHlch(33.75, 45.25, 142.19°)
OKLaboklab(41.7% -0.0964 0.0652)
OKLCHoklch(41.7% 0.116 145.9)
XYZxyz(4.3370, 7.8867, 2.6599)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C20 #5C124E
analogous
#295C12 #125C20 #125C45
triadic
#125C20 #20125C #5C2012
tetradic
#125C20 #12295C #5C124E #5C4512
square
#125C20 #12295C #5C124E #5C4512
split-complementary
#125C20 #45125C #5C1229
monochromatic
#051A09 #08290E #125C20 #1C8F32 #26C244

Accessibility & contrast

On white

8.15
#125C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C20
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C20#FFFFFF#000000##FFFFFF
##125C201.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5319
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c20;
/* rgb */ color: rgb(18, 92, 32);
/* oklch */ color: oklch(41.7% 0.116 145.9);
Tailwind
colors: {
  custom: {
    50: '#5e8b5e',
    500: '#125c20',
    950: '#000000',
  },
}
SCSS
$custom: #125c20;
$custom-light: #5e8b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#125c20",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 131.351,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.11637,
    "h": 145.9
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#125C20
secondary
#943582
accent
#3ECAEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125C20

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

Preview Lab → · Contrast checker → · Palette generator →

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