#125A31#125A31

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

Color values

HEX#125A31
RGBrgb(18, 90, 49)
HSLhsl(146, 67%, 21%)
HSVhsv(146, 80%, 35%)
CMYKcmyk(80%, 0%, 45.6%, 64.7%)
CIE-LABlab(33.27, -32.03, 17.65)
CIE-LCHlch(33.27, 36.57, 151.15°)
OKLaboklab(41.39% -0.0862 0.0437)
OKLCHoklch(41.39% 0.097 153.1)
XYZxyz(4.4596, 7.6622, 4.1490)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A31 #5A123B
analogous
#175A12 #125A31 #125A55
triadic
#125A31 #31125A #5A3112
tetradic
#125A31 #12175A #5A123B #5A5512
square
#125A31 #12175A #5A123B #5A5512
split-complementary
#125A31 #55125A #5A1217
monochromatic
#051A0E #082715 #125A31 #1C8D4D #26C069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125A31#FFFFFF#000000##FFFFFF
##125A311.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)
#5A522E
Deuteranopia (green-blind)
#514C34
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a31;
/* rgb */ color: rgb(18, 90, 49);
/* oklch */ color: oklch(41.4% 0.097 153.1);
Tailwind
colors: {
  custom: {
    50: '#5d8969',
    500: '#125a31',
    950: '#000000',
  },
}
SCSS
$custom: #125a31;
$custom-light: #5d8969;
$custom-dark: #000000;
JSON
{
  "hex": "#125a31",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 49
  },
  "hsl": {
    "h": 145.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.09668,
    "h": 153.1
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125A31

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

Preview Lab → · Contrast checker → · Palette generator →

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