#12552F#12552F

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

Color values

HEX#12552F
RGBrgb(18, 85, 47)
HSLhsl(146, 65%, 20%)
HSVhsv(146, 79%, 33%)
CMYKcmyk(78.8%, 0%, 44.7%, 66.7%)
CIE-LABlab(31.42, -30.31, 16.42)
CIE-LCHlch(31.42, 34.48, 151.56°)
OKLaboklab(39.85% -0.0817 0.0408)
OKLCHoklch(39.85% 0.091 153.5)
XYZxyz(4.0107, 6.8304, 3.7958)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12552F #551238
analogous
#165512 #12552F #125550
triadic
#12552F #2F1255 #552F12
tetradic
#12552F #121655 #551238 #555012
square
#12552F #121655 #551238 #555012
split-complementary
#12552F #501255 #551216
monochromatic
#05190E #072213 #12552F #1D884B #27BA67

Accessibility & contrast

On white

8.87
#12552F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#12552F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12552F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12552F#FFFFFF#000000##FFFFFF
##12552F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2C
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12552f;
/* rgb */ color: rgb(18, 85, 47);
/* oklch */ color: oklch(39.8% 0.091 153.5);
Tailwind
colors: {
  custom: {
    50: '#5b8568',
    500: '#12552f',
    950: '#000000',
  },
}
SCSS
$custom: #12552f;
$custom-light: #5b8568;
$custom-dark: #000000;
JSON
{
  "hex": "#12552f",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 47
  },
  "hsl": {
    "h": 145.97,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.0913,
    "h": 153.5
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#12552F
secondary
#8E3567
accent
#409FE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12552F

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

Preview Lab → · Contrast checker → · Palette generator →

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