#12552C#12552C

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

Color values

HEX#12552C
RGBrgb(18, 85, 44)
HSLhsl(143, 65%, 20%)
HSVhsv(143, 79%, 33%)
CMYKcmyk(78.8%, 0%, 48.2%, 66.7%)
CIE-LABlab(31.36, -30.93, 18.14)
CIE-LCHlch(31.36, 35.86, 149.61°)
OKLaboklab(39.78% -0.0832 0.0447)
OKLCHoklch(39.78% 0.094 151.8)
XYZxyz(3.9522, 6.8070, 3.4880)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12552C #55123B
analogous
#195512 #12552C #12554E
triadic
#12552C #2C1255 #552C12
tetradic
#12552C #121955 #55123B #554E12
square
#12552C #121955 #55123B #554E12
split-complementary
#12552C #4E1255 #551219
monochromatic
#05190D #072212 #12552C #1D8846 #27BA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12552C#FFFFFF#000000##FFFFFF
##12552C1.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)
#554D29
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12552c;
/* rgb */ color: rgb(18, 85, 44);
/* oklch */ color: oklch(39.8% 0.094 151.8);
Tailwind
colors: {
  custom: {
    50: '#5b8665',
    500: '#12552c',
    950: '#000000',
  },
}
SCSS
$custom: #12552c;
$custom-light: #5b8665;
$custom-dark: #000000;
JSON
{
  "hex": "#12552c",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 44
  },
  "hsl": {
    "h": 143.284,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.09448,
    "h": 151.8
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#12552C
secondary
#8E356B
accent
#40A7E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12552C

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

Preview Lab → · Contrast checker → · Palette generator →

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