#125F34#125F34

#125F34 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.101 H 153.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#125F34
RGBrgb(18, 95, 52)
HSLhsl(146, 68%, 22%)
HSVhsv(146, 81%, 37%)
CMYKcmyk(81.1%, 0%, 45.3%, 62.7%)
CIE-LABlab(35.12, -33.50, 18.29)
CIE-LCHlch(35.12, 38.17, 151.37°)
OKLaboklab(42.93% -0.0902 0.0453)
OKLCHoklch(42.93% 0.101 153.3)
XYZxyz(4.9610, 8.5604, 4.6390)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F34 #5F123D
analogous
#165F12 #125F34 #125F5B
triadic
#125F34 #34125F #5F3412
tetradic
#125F34 #12165F #5F123D #5F5B12
square
#125F34 #12165F #5F123D #5F5B12
split-complementary
#125F34 #5B125F #5F1216
monochromatic
#051A0E #082C18 #125F34 #1C9250 #25C66C

Accessibility & contrast

On white

7.74
#125F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#125F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F34
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F34#FFFFFF#000000##FFFFFF
##125F341.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5631
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f34;
/* rgb */ color: rgb(18, 95, 52);
/* oklch */ color: oklch(42.9% 0.101 153.3);
Tailwind
colors: {
  custom: {
    50: '#5e8d6c',
    500: '#125f34',
    950: '#000000',
  },
}
SCSS
$custom: #125f34;
$custom-light: #5e8d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#125f34",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 52
  },
  "hsl": {
    "h": 146.494,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.10091,
    "h": 153.3
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#125F34
secondary
#97366C
accent
#3D9EEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F34

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

Preview Lab → · Contrast checker → · Palette generator →

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