#125E34#125E34

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

Color values

HEX#125E34
RGBrgb(18, 94, 52)
HSLhsl(147, 68%, 22%)
HSVhsv(147, 81%, 37%)
CMYKcmyk(80.9%, 0%, 44.7%, 63.1%)
CIE-LABlab(34.76, -33.09, 17.82)
CIE-LCHlch(34.76, 37.58, 151.69°)
OKLaboklab(42.64% -0.0891 0.0442)
OKLCHoklch(42.64% 0.099 153.6)
XYZxyz(4.8715, 8.3814, 4.6092)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E34 #5E123C
analogous
#165E12 #125E34 #125E5A
triadic
#125E34 #34125E #5E3412
tetradic
#125E34 #12165E #5E123C #5E5A12
square
#125E34 #12165E #5E123C #5E5A12
split-complementary
#125E34 #5A125E #5E1216
monochromatic
#051A0E #082B18 #125E34 #1C9150 #26C56D

Accessibility & contrast

On white

7.85
#125E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E34
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E34#FFFFFF#000000##FFFFFF
##125E341.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5631
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125e34;
/* rgb */ color: rgb(18, 94, 52);
/* oklch */ color: oklch(42.6% 0.099 153.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c6c',
    500: '#125e34',
    950: '#000000',
  },
}
SCSS
$custom: #125e34;
$custom-light: #5e8c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125e34",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 52
  },
  "hsl": {
    "h": 146.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.09945,
    "h": 153.6
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#125E34
secondary
#96356B
accent
#3D9DEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125E34

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

Preview Lab → · Contrast checker → · Palette generator →

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