#12551C#12551C

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

Color values

HEX#12551C
RGBrgb(18, 85, 28)
HSLhsl(129, 65%, 20%)
HSVhsv(129, 79%, 33%)
CMYKcmyk(78.8%, 0%, 67.1%, 66.7%)
CIE-LABlab(31.14, -33.60, 26.81)
CIE-LCHlch(31.14, 42.99, 141.41°)
OKLaboklab(39.52% -0.0907 0.0628)
OKLCHoklch(39.52% 0.11 145.3)
XYZxyz(3.7073, 6.7090, 2.1980)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12551C #55124B
analogous
#2A5512 #12551C #12553D
triadic
#12551C #1C1255 #551C12
tetradic
#12551C #122A55 #55124B #553D12
square
#12551C #122A55 #55124B #553D12
split-complementary
#12551C #3D1255 #55122A
monochromatic
#051908 #07220B #12551C #1D882D #27BA3D

Accessibility & contrast

On white

8.97
#12551C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12551C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12551C#FFFFFF#000000##FFFFFF
##12551C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12551c;
/* rgb */ color: rgb(18, 85, 28);
/* oklch */ color: oklch(39.5% 0.110 145.3);
Tailwind
colors: {
  custom: {
    50: '#5c865a',
    500: '#12551c',
    950: '#000000',
  },
}
SCSS
$custom: #12551c;
$custom-light: #5c865a;
$custom-dark: #000000;
JSON
{
  "hex": "#12551c",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 28
  },
  "hsl": {
    "h": 128.955,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.11034,
    "h": 145.3
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#12551C
secondary
#8E3581
accent
#40CFE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12551C

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

Preview Lab → · Contrast checker → · Palette generator →

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