#125512#125512

#125512 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.4% C 0.118 H 142.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#125512
RGBrgb(18, 85, 18)
HSLhsl(120, 65%, 20%)
HSVhsv(120, 79%, 33%)
CMYKcmyk(78.8%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.04, -34.74, 31.42)
CIE-LCHlch(31.04, 46.84, 137.87°)
OKLaboklab(39.41% -0.0943 0.0713)
OKLCHoklch(39.41% 0.118 142.9)
XYZxyz(3.6069, 6.6689, 1.6693)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125512 #551255
analogous
#335512 #125512 #125533
triadic
#125512 #121255 #551212
tetradic
#125512 #123355 #551255 #553312
square
#125512 #123355 #551255 #553312
split-complementary
#125512 #331255 #551233
monochromatic
#051905 #072207 #125512 #1D881D #27BA27

Accessibility & contrast

On white

9.00
#125512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#125512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125512
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125512#FFFFFF#000000##FFFFFF
##1255121.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125512;
/* rgb */ color: rgb(18, 85, 18);
/* oklch */ color: oklch(39.4% 0.118 142.9);
Tailwind
colors: {
  custom: {
    50: '#5d8655',
    500: '#125512',
    950: '#000000',
  },
}
SCSS
$custom: #125512;
$custom-light: #5d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#125512",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.11821,
    "h": 142.9
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#125512
secondary
#8E358E
accent
#40E8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125512

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

Preview Lab → · Contrast checker → · Palette generator →

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