#125B20#125B20

#125B20 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.115 H 146.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#125B20
RGBrgb(18, 91, 32)
HSLhsl(132, 67%, 21%)
HSVhsv(132, 80%, 36%)
CMYKcmyk(80.2%, 0%, 64.8%, 64.3%)
CIE-LABlab(33.38, -35.37, 27.32)
CIE-LCHlch(33.38, 44.69, 142.32°)
OKLaboklab(41.4% -0.0953 0.0643)
OKLCHoklch(41.4% 0.115 146)
XYZxyz(4.2509, 7.7146, 2.6312)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B20 #5B124D
analogous
#295B12 #125B20 #125B45
triadic
#125B20 #20125B #5B2012
tetradic
#125B20 #12295B #5B124D #5B4512
square
#125B20 #12295B #5B124D #5B4512
split-complementary
#125B20 #45125B #5B1229
monochromatic
#051A09 #08280E #125B20 #1C8E32 #26C144

Accessibility & contrast

On white

8.26
#125B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B20
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B20#FFFFFF#000000##FFFFFF
##125B201.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b20;
/* rgb */ color: rgb(18, 91, 32);
/* oklch */ color: oklch(41.4% 0.115 146.0);
Tailwind
colors: {
  custom: {
    50: '#5d8a5e',
    500: '#125b20',
    950: '#000000',
  },
}
SCSS
$custom: #125b20;
$custom-light: #5d8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#125b20",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 131.507,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.115,
    "h": 146
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#125B20
secondary
#933581
accent
#3EC9EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B20

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

Preview Lab → · Contrast checker → · Palette generator →

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