#125F37#125F37

#125F37 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.098 H 155.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#125F37
RGBrgb(18, 95, 55)
HSLhsl(149, 68%, 22%)
HSVhsv(149, 81%, 37%)
CMYKcmyk(81.1%, 0%, 42.1%, 62.7%)
CIE-LABlab(35.18, -32.87, 16.59)
CIE-LCHlch(35.18, 36.82, 153.22°)
OKLaboklab(43% -0.0886 0.0414)
OKLCHoklch(43% 0.098 155)
XYZxyz(5.0308, 8.5883, 5.0062)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F37 #5F123A
analogous
#145F12 #125F37 #125F5E
triadic
#125F37 #37125F #5F3712
tetradic
#125F37 #12145F #5F123A #5F5E12
square
#125F37 #12145F #5F123A #5F5E12
split-complementary
#125F37 #5E125F #5F1214
monochromatic
#051A0F #082C19 #125F37 #1C9255 #25C673

Accessibility & contrast

On white

7.73
#125F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#125F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F37
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F37#FFFFFF#000000##FFFFFF
##125F371.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5734
Deuteranopia (green-blind)
#56503A
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f37;
/* rgb */ color: rgb(18, 95, 55);
/* oklch */ color: oklch(43.0% 0.098 155.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d6e',
    500: '#125f37',
    950: '#000000',
  },
}
SCSS
$custom: #125f37;
$custom-light: #5e8d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#125f37",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 55
  },
  "hsl": {
    "h": 148.831,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.09781,
    "h": 155
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#125F37
secondary
#973668
accent
#3D97EB
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F37

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

Preview Lab → · Contrast checker → · Palette generator →

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