#125F36#125F36

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

Color values

HEX#125F36
RGBrgb(18, 95, 54)
HSLhsl(148, 68%, 22%)
HSVhsv(148, 81%, 37%)
CMYKcmyk(81.1%, 0%, 43.2%, 62.7%)
CIE-LABlab(35.16, -33.08, 17.16)
CIE-LCHlch(35.16, 37.27, 152.59°)
OKLaboklab(42.98% -0.0891 0.0427)
OKLCHoklch(42.98% 0.099 154.4)
XYZxyz(5.0070, 8.5788, 4.8813)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F36 #5F123B
analogous
#145F12 #125F36 #125F5D
triadic
#125F36 #36125F #5F3612
tetradic
#125F36 #12145F #5F123B #5F5D12
square
#125F36 #12145F #5F123B #5F5D12
split-complementary
#125F36 #5D125F #5F1214
monochromatic
#051A0F #082C19 #125F36 #1C9253 #25C670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F36#FFFFFF#000000##FFFFFF
##125F361.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)
#5F5733
Deuteranopia (green-blind)
#565039
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #125f36;
/* rgb */ color: rgb(18, 95, 54);
/* oklch */ color: oklch(43.0% 0.099 154.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d6d',
    500: '#125f36',
    950: '#000000',
  },
}
SCSS
$custom: #125f36;
$custom-light: #5e8d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#125f36",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 54
  },
  "hsl": {
    "h": 148.052,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.09884,
    "h": 154.4
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#125F36
secondary
#97366A
accent
#3D9AEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #125F36

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

Preview Lab → · Contrast checker → · Palette generator →

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