#125A20#125A20

#125A20 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.114 H 146.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#125A20
RGBrgb(18, 90, 32)
HSLhsl(132, 67%, 21%)
HSVhsv(132, 80%, 35%)
CMYKcmyk(80%, 0%, 64.4%, 64.7%)
CIE-LABlab(33.02, -34.99, 26.90)
CIE-LCHlch(33.02, 44.13, 142.45°)
OKLaboklab(41.09% -0.0943 0.0634)
OKLCHoklch(41.09% 0.114 146.1)
XYZxyz(4.1660, 7.5447, 2.6029)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A20 #5A124C
analogous
#285A12 #125A20 #125A44
triadic
#125A20 #20125A #5A2012
tetradic
#125A20 #12285A #5A124C #5A4412
square
#125A20 #12285A #5A124C #5A4412
split-complementary
#125A20 #44125A #5A1228
monochromatic
#051A09 #08270E #125A20 #1C8D32 #26C044

Accessibility & contrast

On white

8.37
#125A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A20
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A20#FFFFFF#000000##FFFFFF
##125A201.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511A
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a20;
/* rgb */ color: rgb(18, 90, 32);
/* oklch */ color: oklch(41.1% 0.114 146.1);
Tailwind
colors: {
  custom: {
    50: '#5d895e',
    500: '#125a20',
    950: '#000000',
  },
}
SCSS
$custom: #125a20;
$custom-light: #5d895e;
$custom-dark: #000000;
JSON
{
  "hex": "#125a20",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 32
  },
  "hsl": {
    "h": 131.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.11363,
    "h": 146.1
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#125A20
secondary
#933580
accent
#3EC8EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A20

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

Preview Lab → · Contrast checker → · Palette generator →

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