#125B32#125B32

#125B32 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.097 H 153.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#125B32
RGBrgb(18, 91, 50)
HSLhsl(146, 67%, 21%)
HSVhsv(146, 80%, 36%)
CMYKcmyk(80.2%, 0%, 45.1%, 64.3%)
CIE-LABlab(33.65, -32.24, 17.55)
CIE-LCHlch(33.65, 36.71, 151.44°)
OKLaboklab(41.7% -0.0868 0.0435)
OKLCHoklch(41.7% 0.097 153.4)
XYZxyz(4.5658, 7.8405, 4.2897)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B32 #5B123B
analogous
#175B12 #125B32 #125B57
triadic
#125B32 #32125B #5B3212
tetradic
#125B32 #12175B #5B123B #5B5712
square
#125B32 #12175B #5B123B #5B5712
split-complementary
#125B32 #57125B #5B1217
monochromatic
#051A0E #082816 #125B32 #1C8E4E #26C16A

Accessibility & contrast

On white

8.18
#125B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B32
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B32#FFFFFF#000000##FFFFFF
##125B321.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532F
Deuteranopia (green-blind)
#524D35
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b32;
/* rgb */ color: rgb(18, 91, 50);
/* oklch */ color: oklch(41.7% 0.097 153.4);
Tailwind
colors: {
  custom: {
    50: '#5d8a6a',
    500: '#125b32',
    950: '#000000',
  },
}
SCSS
$custom: #125b32;
$custom-light: #5d8a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#125b32",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 50
  },
  "hsl": {
    "h": 146.301,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.09711,
    "h": 153.4
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#125B32
secondary
#93356A
accent
#3E9FEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125B32

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

Preview Lab → · Contrast checker → · Palette generator →

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