#12551F#12551F

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

Color values

HEX#12551F
RGBrgb(18, 85, 31)
HSLhsl(132, 65%, 20%)
HSVhsv(132, 79%, 33%)
CMYKcmyk(78.8%, 0%, 63.5%, 66.7%)
CIE-LABlab(31.17, -33.18, 25.28)
CIE-LCHlch(31.17, 41.71, 142.70°)
OKLaboklab(39.56% -0.0894 0.0598)
OKLCHoklch(39.56% 0.108 146.2)
XYZxyz(3.7450, 6.7241, 2.3966)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12551F #551248
analogous
#265512 #12551F #125541
triadic
#12551F #1F1255 #551F12
tetradic
#12551F #122655 #551248 #554112
square
#12551F #122655 #551248 #554112
split-complementary
#12551F #411255 #551226
monochromatic
#051909 #07220D #12551F #1D8831 #27BA44

Accessibility & contrast

On white

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

On black

2.35
#12551F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12551F#FFFFFF#000000##FFFFFF
##12551F1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12551f;
/* rgb */ color: rgb(18, 85, 31);
/* oklch */ color: oklch(39.6% 0.108 146.2);
Tailwind
colors: {
  custom: {
    50: '#5c865c',
    500: '#12551f',
    950: '#000000',
  },
}
SCSS
$custom: #12551f;
$custom-light: #5c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#12551f",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 31
  },
  "hsl": {
    "h": 131.642,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.10761,
    "h": 146.2
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#12551F
secondary
#8E357D
accent
#40C7E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #12551F

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

Preview Lab → · Contrast checker → · Palette generator →

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