#125732#125732

#125732 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.091 H 154.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#125732
RGBrgb(18, 87, 50)
HSLhsl(148, 66%, 21%)
HSVhsv(148, 79%, 34%)
CMYKcmyk(79.3%, 0%, 42.5%, 65.9%)
CIE-LABlab(32.20, -30.53, 15.64)
CIE-LCHlch(32.20, 34.31, 152.87°)
OKLaboklab(40.51% -0.0824 0.039)
OKLCHoklch(40.51% 0.091 154.7)
XYZxyz(4.2330, 7.1748, 4.1788)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125732 #571237
analogous
#155712 #125732 #125754
triadic
#125732 #321257 #573212
tetradic
#125732 #121557 #571237 #575412
square
#125732 #121557 #571237 #575412
split-complementary
#125732 #541257 #571215
monochromatic
#05190F #082415 #125732 #1C8A4F #27BC6C

Accessibility & contrast

On white

8.62
#125732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#125732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125732
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125732#FFFFFF#000000##FFFFFF
##1257321.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2F
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125732;
/* rgb */ color: rgb(18, 87, 50);
/* oklch */ color: oklch(40.5% 0.091 154.7);
Tailwind
colors: {
  custom: {
    50: '#5c876a',
    500: '#125732',
    950: '#000000',
  },
}
SCSS
$custom: #125732;
$custom-light: #5c876a;
$custom-dark: #000000;
JSON
{
  "hex": "#125732",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 50
  },
  "hsl": {
    "h": 147.826,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.09114,
    "h": 154.7
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#125732
secondary
#903566
accent
#3F9AE9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125732

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

Preview Lab → · Contrast checker → · Palette generator →

#125732 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva