#125713#125713

#125713 is a dark, vivid green. Relative luminance 0.070; OKLCH L 40.0% C 0.120 H 143.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#125713
RGBrgb(18, 87, 19)
HSLhsl(121, 66%, 21%)
HSVhsv(121, 79%, 34%)
CMYKcmyk(79.3%, 0%, 78.2%, 65.9%)
CIE-LABlab(31.79, -35.39, 31.76)
CIE-LCHlch(31.79, 47.55, 138.09°)
OKLaboklab(40.03% -0.096 0.0721)
OKLCHoklch(40.03% 0.12 143.1)
XYZxyz(3.7750, 6.9916, 1.7665)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125713 #571256
analogous
#335712 #125713 #125735
triadic
#125713 #131257 #571312
tetradic
#125713 #123357 #571256 #573512
square
#125713 #123357 #571256 #573512
split-complementary
#125713 #351257 #571233
monochromatic
#051906 #082408 #125713 #1C8A1E #27BC29

Accessibility & contrast

On white

8.76
#125713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125713
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125713#FFFFFF#000000##FFFFFF
##1257131.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125713;
/* rgb */ color: rgb(18, 87, 19);
/* oklch */ color: oklch(40.0% 0.120 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8755',
    500: '#125713',
    950: '#000000',
  },
}
SCSS
$custom: #125713;
$custom-light: #5d8755;
$custom-dark: #000000;
JSON
{
  "hex": "#125713",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 120.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.12009,
    "h": 143.1
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#125713
secondary
#90358E
accent
#3FE6E9
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125713

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

Preview Lab → · Contrast checker → · Palette generator →

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