#125612#125612

#125612 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.119 H 142.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#125612
RGBrgb(18, 86, 18)
HSLhsl(120, 65%, 20%)
HSVhsv(120, 79%, 34%)
CMYKcmyk(79.1%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.41, -35.11, 31.80)
CIE-LCHlch(31.41, 47.37, 137.84°)
OKLaboklab(39.72% -0.0953 0.0721)
OKLCHoklch(39.72% 0.119 142.9)
XYZxyz(3.6862, 6.8274, 1.6957)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125612 #561256
analogous
#345612 #125612 #125634
triadic
#125612 #121256 #561212
tetradic
#125612 #123456 #561256 #563412
square
#125612 #123456 #561256 #563412
split-complementary
#125612 #341256 #561234
monochromatic
#051905 #072307 #125612 #1D891D #27BB27

Accessibility & contrast

On white

8.88
#125612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125612
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125612#FFFFFF#000000##FFFFFF
##1256121.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125612;
/* rgb */ color: rgb(18, 86, 18);
/* oklch */ color: oklch(39.7% 0.119 142.9);
Tailwind
colors: {
  custom: {
    50: '#5d8655',
    500: '#125612',
    950: '#000000',
  },
}
SCSS
$custom: #125612;
$custom-light: #5d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#125612",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.11949,
    "h": 142.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#125612
secondary
#8F358F
accent
#3FE8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125612

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

Preview Lab → · Contrast checker → · Palette generator →

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