#12552D#12552D

#12552D is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.093 H 152.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#12552D
RGBrgb(18, 85, 45)
HSLhsl(144, 65%, 20%)
HSVhsv(144, 79%, 33%)
CMYKcmyk(78.8%, 0%, 47.1%, 66.7%)
CIE-LABlab(31.38, -30.73, 17.57)
CIE-LCHlch(31.38, 35.40, 150.24°)
OKLaboklab(39.8% -0.0827 0.0434)
OKLCHoklch(39.8% 0.093 152.3)
XYZxyz(3.9713, 6.8146, 3.5882)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12552D #55123A
analogous
#185512 #12552D #12554E
triadic
#12552D #2D1255 #552D12
tetradic
#12552D #121855 #55123A #554E12
square
#12552D #121855 #55123A #554E12
split-complementary
#12552D #4E1255 #551218
monochromatic
#05190D #072212 #12552D #1D8848 #27BA62

Accessibility & contrast

On white

8.89
#12552D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#12552D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12552D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12552D#FFFFFF#000000##FFFFFF
##12552D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12552d;
/* rgb */ color: rgb(18, 85, 45);
/* oklch */ color: oklch(39.8% 0.093 152.3);
Tailwind
colors: {
  custom: {
    50: '#5b8566',
    500: '#12552d',
    950: '#000000',
  },
}
SCSS
$custom: #12552d;
$custom-light: #5b8566;
$custom-dark: #000000;
JSON
{
  "hex": "#12552d",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 45
  },
  "hsl": {
    "h": 144.179,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.09342,
    "h": 152.3
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#12552D
secondary
#8E356A
accent
#40A4E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12552D

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

Preview Lab → · Contrast checker → · Palette generator →

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