#125710#125710

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

Color values

HEX#125710
RGBrgb(18, 87, 16)
HSLhsl(118, 69%, 20%)
HSVhsv(118, 82%, 34%)
CMYKcmyk(79.3%, 0%, 81.6%, 65.9%)
CIE-LABlab(31.77, -35.66, 32.96)
CIE-LCHlch(31.77, 48.56, 137.25°)
OKLaboklab(40.01% -0.0969 0.0742)
OKLCHoklch(40.01% 0.122 142.6)
XYZxyz(3.7509, 6.9820, 1.6401)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125710 #551057
analogous
#355710 #125710 #105731
triadic
#125710 #101257 #571012
tetradic
#125710 #103557 #551057 #573110
square
#125710 #103557 #551057 #573110
split-complementary
#125710 #311057 #571035
monochromatic
#051A05 #072306 #125710 #1D8B1A #27BE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125710#FFFFFF#000000##FFFFFF
##1257101.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)
#594E03
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125710;
/* rgb */ color: rgb(18, 87, 16);
/* oklch */ color: oklch(40.0% 0.122 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8754',
    500: '#125710',
    950: '#000000',
  },
}
SCSS
$custom: #125710;
$custom-light: #5d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#125710",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 118.31,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.12204,
    "h": 142.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#125710
secondary
#8E3290
accent
#3CECE7
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125710

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

Preview Lab → · Contrast checker → · Palette generator →

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