#125618#125618

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

Color values

HEX#125618
RGBrgb(18, 86, 24)
HSLhsl(125, 65%, 20%)
HSVhsv(125, 79%, 34%)
CMYKcmyk(79.1%, 0%, 72.1%, 66.3%)
CIE-LABlab(31.46, -34.49, 29.16)
CIE-LCHlch(31.46, 45.16, 139.78°)
OKLaboklab(39.78% -0.0933 0.0673)
OKLCHoklch(39.78% 0.115 144.2)
XYZxyz(3.7419, 6.8497, 1.9889)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125618 #561250
analogous
#2E5612 #125618 #12563A
triadic
#125618 #181256 #561812
tetradic
#125618 #122E56 #561250 #563A12
square
#125618 #122E56 #561250 #563A12
split-complementary
#125618 #3A1256 #56122E
monochromatic
#051907 #07230A #125618 #1D8926 #27BB34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125618#FFFFFF#000000##FFFFFF
##1256181.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)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125618;
/* rgb */ color: rgb(18, 86, 24);
/* oklch */ color: oklch(39.8% 0.115 144.2);
Tailwind
colors: {
  custom: {
    50: '#5d8658',
    500: '#125618',
    950: '#000000',
  },
}
SCSS
$custom: #125618;
$custom-light: #5d8658;
$custom-dark: #000000;
JSON
{
  "hex": "#125618",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 125.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.11507,
    "h": 144.2
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#125618
secondary
#8F3587
accent
#3FD9E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125618

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

Preview Lab → · Contrast checker → · Palette generator →

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