#125617#125617

#125617 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.116 H 143.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#125617
RGBrgb(18, 86, 23)
HSLhsl(124, 65%, 20%)
HSVhsv(124, 79%, 34%)
CMYKcmyk(79.1%, 0%, 73.3%, 66.3%)
CIE-LABlab(31.45, -34.60, 29.62)
CIE-LCHlch(31.45, 45.55, 139.43°)
OKLaboklab(39.77% -0.0937 0.0682)
OKLCHoklch(39.77% 0.116 143.9)
XYZxyz(3.7317, 6.8456, 1.9351)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125617 #561251
analogous
#2F5612 #125617 #125639
triadic
#125617 #171256 #561712
tetradic
#125617 #122F56 #561251 #563912
square
#125617 #122F56 #561251 #563912
split-complementary
#125617 #391256 #56122F
monochromatic
#051907 #072309 #125617 #1D8925 #27BB32

Accessibility & contrast

On white

8.86
#125617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125617
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125617#FFFFFF#000000##FFFFFF
##1256171.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0E
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125617;
/* rgb */ color: rgb(18, 86, 23);
/* oklch */ color: oklch(39.8% 0.116 143.9);
Tailwind
colors: {
  custom: {
    50: '#5d8658',
    500: '#125617',
    950: '#000000',
  },
}
SCSS
$custom: #125617;
$custom-light: #5d8658;
$custom-dark: #000000;
JSON
{
  "hex": "#125617",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 124.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.11586,
    "h": 143.9
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#125617
secondary
#8F3588
accent
#3FDCE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125617

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

Preview Lab → · Contrast checker → · Palette generator →

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