#12552B#12552B

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

Color values

HEX#12552B
RGBrgb(18, 85, 43)
HSLhsl(142, 65%, 20%)
HSVhsv(142, 79%, 33%)
CMYKcmyk(78.8%, 0%, 49.4%, 66.7%)
CIE-LABlab(31.35, -31.13, 18.71)
CIE-LCHlch(31.35, 36.32, 148.99°)
OKLaboklab(39.76% -0.0838 0.0459)
OKLCHoklch(39.76% 0.096 151.3)
XYZxyz(3.9337, 6.7996, 3.3902)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12552B #55123C
analogous
#1A5512 #12552B #12554C
triadic
#12552B #2B1255 #552B12
tetradic
#12552B #121A55 #55123C #554C12
square
#12552B #121A55 #55123C #554C12
split-complementary
#12552B #4C1255 #55121A
monochromatic
#05190D #072211 #12552B #1D8845 #27BA5E

Accessibility & contrast

On white

8.90
#12552B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12552B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12552B#FFFFFF#000000##FFFFFF
##12552B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12552b;
/* rgb */ color: rgb(18, 85, 43);
/* oklch */ color: oklch(39.8% 0.096 151.3);
Tailwind
colors: {
  custom: {
    50: '#5b8665',
    500: '#12552b',
    950: '#000000',
  },
}
SCSS
$custom: #12552b;
$custom-light: #5b8665;
$custom-dark: #000000;
JSON
{
  "hex": "#12552b",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 43
  },
  "hsl": {
    "h": 142.388,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.09554,
    "h": 151.3
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#12552B
secondary
#8E356D
accent
#40A9E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12552B

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

Preview Lab → · Contrast checker → · Palette generator →

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