#125A32#125A32

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

Color values

HEX#125A32
RGBrgb(18, 90, 50)
HSLhsl(147, 67%, 21%)
HSVhsv(147, 80%, 35%)
CMYKcmyk(80%, 0%, 44.4%, 64.7%)
CIE-LABlab(33.29, -31.82, 17.07)
CIE-LCHlch(33.29, 36.11, 151.78°)
OKLaboklab(41.41% -0.0857 0.0424)
OKLCHoklch(41.41% 0.096 153.7)
XYZxyz(4.4809, 7.6707, 4.2614)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A32 #5A123A
analogous
#165A12 #125A32 #125A56
triadic
#125A32 #32125A #5A3212
tetradic
#125A32 #12165A #5A123A #5A5612
square
#125A32 #12165A #5A123A #5A5612
split-complementary
#125A32 #56125A #5A1216
monochromatic
#051A0E #082716 #125A32 #1C8D4E #26C06B

Accessibility & contrast

On white

8.29
#125A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#125A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A32
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A32#FFFFFF#000000##FFFFFF
##125A321.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#514C35
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a32;
/* rgb */ color: rgb(18, 90, 50);
/* oklch */ color: oklch(41.4% 0.096 153.7);
Tailwind
colors: {
  custom: {
    50: '#5d896a',
    500: '#125a32',
    950: '#000000',
  },
}
SCSS
$custom: #125a32;
$custom-light: #5d896a;
$custom-dark: #000000;
JSON
{
  "hex": "#125a32",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 50
  },
  "hsl": {
    "h": 146.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.09562,
    "h": 153.7
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#125A32
secondary
#933569
accent
#3E9DEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A32

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

Preview Lab → · Contrast checker → · Palette generator →

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