#125719#125719

#125719 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.116 H 144.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#125719
RGBrgb(18, 87, 25)
HSLhsl(126, 66%, 21%)
HSVhsv(126, 79%, 34%)
CMYKcmyk(79.3%, 0%, 71.3%, 65.9%)
CIE-LABlab(31.84, -34.75, 29.09)
CIE-LCHlch(31.84, 45.32, 140.06°)
OKLaboklab(40.09% -0.094 0.0673)
OKLCHoklch(40.09% 0.116 144.4)
XYZxyz(3.8329, 7.0147, 2.0715)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125719 #571250
analogous
#2D5712 #125719 #12573B
triadic
#125719 #191257 #571912
tetradic
#125719 #122D57 #571250 #573B12
square
#125719 #122D57 #571250 #573B12
split-complementary
#125719 #3B1257 #57122D
monochromatic
#051907 #08240A #125719 #1C8A28 #27BC36

Accessibility & contrast

On white

8.74
#125719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125719
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125719#FFFFFF#000000##FFFFFF
##1257191.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E11
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125719;
/* rgb */ color: rgb(18, 87, 25);
/* oklch */ color: oklch(40.1% 0.116 144.4);
Tailwind
colors: {
  custom: {
    50: '#5d8759',
    500: '#125719',
    950: '#000000',
  },
}
SCSS
$custom: #125719;
$custom-light: #5d8759;
$custom-dark: #000000;
JSON
{
  "hex": "#125719",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 25
  },
  "hsl": {
    "h": 126.087,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40094,
    "c": 0.11559,
    "h": 144.4
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#125719
secondary
#903586
accent
#3FD7E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125719

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

Preview Lab → · Contrast checker → · Palette generator →

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