#125C31#125C31

#125C31 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.100 H 152.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#125C31
RGBrgb(18, 92, 49)
HSLhsl(145, 67%, 22%)
HSVhsv(145, 80%, 36%)
CMYKcmyk(80.4%, 0%, 46.7%, 63.9%)
CIE-LABlab(33.99, -32.87, 18.58)
CIE-LCHlch(33.99, 37.76, 150.51°)
OKLaboklab(41.98% -0.0884 0.0459)
OKLCHoklch(41.98% 0.1 152.6)
XYZxyz(4.6306, 8.0041, 4.2060)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C31 #5C123D
analogous
#185C12 #125C31 #125C56
triadic
#125C31 #31125C #5C3112
tetradic
#125C31 #12185C #5C123D #5C5612
square
#125C31 #12185C #5C123D #5C5612
split-complementary
#125C31 #56125C #5C1218
monochromatic
#051A0E #082916 #125C31 #1C8F4C #26C268

Accessibility & contrast

On white

8.07
#125C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C31
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C31#FFFFFF#000000##FFFFFF
##125C311.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542E
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c31;
/* rgb */ color: rgb(18, 92, 49);
/* oklch */ color: oklch(42.0% 0.100 152.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b69',
    500: '#125c31',
    950: '#000000',
  },
}
SCSS
$custom: #125c31;
$custom-light: #5d8b69;
$custom-dark: #000000;
JSON
{
  "hex": "#125c31",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 49
  },
  "hsl": {
    "h": 145.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.09963,
    "h": 152.6
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#125C31
secondary
#94356D
accent
#3EA2EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125C31

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

Preview Lab → · Contrast checker → · Palette generator →

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