#12560F#12560F

#12560F is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.7% C 0.121 H 142.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#12560F
RGBrgb(18, 86, 15)
HSLhsl(117, 70%, 20%)
HSVhsv(117, 83%, 34%)
CMYKcmyk(79.1%, 0%, 82.6%, 66.3%)
CIE-LABlab(31.39, -35.37, 32.98)
CIE-LCHlch(31.39, 48.36, 137.01°)
OKLaboklab(39.69% -0.0962 0.0741)
OKLCHoklch(39.69% 0.121 142.4)
XYZxyz(3.6632, 6.8183, 1.5748)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12560F #530F56
analogous
#35560F #12560F #0F5630
triadic
#12560F #0F1256 #560F12
tetradic
#12560F #0F3556 #530F56 #56300F
square
#12560F #0F3556 #530F56 #56300F
split-complementary
#12560F #300F56 #560F35
monochromatic
#051A05 #072206 #12560F #1D8A18 #28BE21

Accessibility & contrast

On white

8.88
#12560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#12560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12560F#FFFFFF#000000##FFFFFF
##12560F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12560f;
/* rgb */ color: rgb(18, 86, 15);
/* oklch */ color: oklch(39.7% 0.121 142.4);
Tailwind
colors: {
  custom: {
    50: '#5d8653',
    500: '#12560f',
    950: '#000000',
  },
}
SCSS
$custom: #12560f;
$custom-light: #5d8653;
$custom-dark: #000000;
JSON
{
  "hex": "#12560f",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 117.465,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.12139,
    "h": 142.4
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#12560F
secondary
#8C3190
accent
#3BEDE6
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #12560F

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

Preview Lab → · Contrast checker → · Palette generator →

#12560F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva