#12551E#12551E

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

Color values

HEX#12551E
RGBrgb(18, 85, 30)
HSLhsl(131, 65%, 20%)
HSVhsv(131, 79%, 33%)
CMYKcmyk(78.8%, 0%, 64.7%, 66.7%)
CIE-LABlab(31.16, -33.32, 25.80)
CIE-LCHlch(31.16, 42.14, 142.26°)
OKLaboklab(39.55% -0.0899 0.0608)
OKLCHoklch(39.55% 0.109 145.9)
XYZxyz(3.7320, 6.7189, 2.3282)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12551E #551249
analogous
#285512 #12551E #12553F
triadic
#12551E #1E1255 #551E12
tetradic
#12551E #122855 #551249 #553F12
square
#12551E #122855 #551249 #553F12
split-complementary
#12551E #3F1255 #551228
monochromatic
#051909 #07220C #12551E #1D8830 #27BA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12551E#FFFFFF#000000##FFFFFF
##12551E1.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)
#564D18
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12551e;
/* rgb */ color: rgb(18, 85, 30);
/* oklch */ color: oklch(39.5% 0.109 145.9);
Tailwind
colors: {
  custom: {
    50: '#5c865c',
    500: '#12551e',
    950: '#000000',
  },
}
SCSS
$custom: #12551e;
$custom-light: #5c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#12551e",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 30
  },
  "hsl": {
    "h": 130.746,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.10854,
    "h": 145.9
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#12551E
secondary
#8E357E
accent
#40CAE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12551E

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

Preview Lab → · Contrast checker → · Palette generator →

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