#12551D#12551D

#12551D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.109 H 145.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#12551D
RGBrgb(18, 85, 29)
HSLhsl(130, 65%, 20%)
HSVhsv(130, 79%, 33%)
CMYKcmyk(78.8%, 0%, 65.9%, 66.7%)
CIE-LABlab(31.15, -33.46, 26.31)
CIE-LCHlch(31.15, 42.57, 141.83°)
OKLaboklab(39.53% -0.0903 0.0618)
OKLCHoklch(39.53% 0.109 145.6)
XYZxyz(3.7195, 6.7139, 2.2620)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12551D #55124A
analogous
#285512 #12551D #12553F
triadic
#12551D #1D1255 #551D12
tetradic
#12551D #122855 #55124A #553F12
square
#12551D #122855 #55124A #553F12
split-complementary
#12551D #3F1255 #551228
monochromatic
#051909 #07220C #12551D #1D882E #27BA3F

Accessibility & contrast

On white

8.96
#12551D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#12551D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12551D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12551D#FFFFFF#000000##FFFFFF
##12551D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D17
Deuteranopia (green-blind)
#4F4722
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12551d;
/* rgb */ color: rgb(18, 85, 29);
/* oklch */ color: oklch(39.5% 0.109 145.6);
Tailwind
colors: {
  custom: {
    50: '#5c865b',
    500: '#12551d',
    950: '#000000',
  },
}
SCSS
$custom: #12551d;
$custom-light: #5c865b;
$custom-dark: #000000;
JSON
{
  "hex": "#12551d",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 29
  },
  "hsl": {
    "h": 129.851,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39533,
    "c": 0.10945,
    "h": 145.6
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#12551D
secondary
#8E357F
accent
#40CCE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12551D

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

Preview Lab → · Contrast checker → · Palette generator →

#12551D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva