#125724#125724

#125724 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.2% C 0.106 H 147.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#125724
RGBrgb(18, 87, 36)
HSLhsl(136, 66%, 21%)
HSVhsv(136, 79%, 34%)
CMYKcmyk(79.3%, 0%, 58.6%, 65.9%)
CIE-LABlab(31.97, -33.20, 23.50)
CIE-LCHlch(31.97, 40.68, 144.70°)
OKLaboklab(40.24% -0.0894 0.0564)
OKLCHoklch(40.24% 0.106 147.8)
XYZxyz(3.9758, 7.0719, 2.8242)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125724 #571245
analogous
#225712 #125724 #125746
triadic
#125724 #241257 #572412
tetradic
#125724 #122257 #571245 #574612
square
#125724 #122257 #571245 #574612
split-complementary
#125724 #461257 #571222
monochromatic
#05190A #08240F #125724 #1C8A39 #27BC4E

Accessibility & contrast

On white

8.70
#125724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#125724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125724
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125724#FFFFFF#000000##FFFFFF
##1257241.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1F
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125724;
/* rgb */ color: rgb(18, 87, 36);
/* oklch */ color: oklch(40.2% 0.106 147.8);
Tailwind
colors: {
  custom: {
    50: '#5c8760',
    500: '#125724',
    950: '#000000',
  },
}
SCSS
$custom: #125724;
$custom-light: #5c8760;
$custom-dark: #000000;
JSON
{
  "hex": "#125724",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 36
  },
  "hsl": {
    "h": 135.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.10564,
    "h": 147.8
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#125724
secondary
#903578
accent
#3FBCE9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B05
muted
#797C79

Preview Lab

Preview with #125724

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

Preview Lab → · Contrast checker → · Palette generator →

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