#125E31#125E31

#125E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.103 H 152.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#125E31
RGBrgb(18, 94, 49)
HSLhsl(144, 68%, 22%)
HSVhsv(144, 81%, 37%)
CMYKcmyk(80.9%, 0%, 47.9%, 63.1%)
CIE-LABlab(34.71, -33.69, 19.51)
CIE-LCHlch(34.71, 38.94, 149.92°)
OKLaboklab(42.58% -0.0906 0.048)
OKLCHoklch(42.58% 0.103 152.1)
XYZxyz(4.8061, 8.3552, 4.2646)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E31 #5E123F
analogous
#195E12 #125E31 #125E57
triadic
#125E31 #31125E #5E3112
tetradic
#125E31 #12195E #5E123F #5E5712
square
#125E31 #12195E #5E123F #5E5712
split-complementary
#125E31 #57125E #5E1219
monochromatic
#051A0D #082B16 #125E31 #1C914C #26C567

Accessibility & contrast

On white

7.86
#125E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E31
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E31#FFFFFF#000000##FFFFFF
##125E311.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e31;
/* rgb */ color: rgb(18, 94, 49);
/* oklch */ color: oklch(42.6% 0.103 152.1);
Tailwind
colors: {
  custom: {
    50: '#5e8c6a',
    500: '#125e31',
    950: '#000000',
  },
}
SCSS
$custom: #125e31;
$custom-light: #5e8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#125e31",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 49
  },
  "hsl": {
    "h": 144.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.10256,
    "h": 152.1
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#125E31
secondary
#96356F
accent
#3DA4EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E31

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

Preview Lab → · Contrast checker → · Palette generator →

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