#12552E#12552E

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

Color values

HEX#12552E
RGBrgb(18, 85, 46)
HSLhsl(145, 65%, 20%)
HSVhsv(145, 79%, 33%)
CMYKcmyk(78.8%, 0%, 45.9%, 66.7%)
CIE-LABlab(31.40, -30.52, 17.00)
CIE-LCHlch(31.40, 34.94, 150.89°)
OKLaboklab(39.82% -0.0822 0.0421)
OKLCHoklch(39.82% 0.092 152.9)
XYZxyz(3.9907, 6.8224, 3.6908)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12552E #551239
analogous
#175512 #12552E #125550
triadic
#12552E #2E1255 #552E12
tetradic
#12552E #121755 #551239 #555012
square
#12552E #121755 #551239 #555012
split-complementary
#12552E #501255 #551217
monochromatic
#05190E #072213 #12552E #1D8849 #27BA65

Accessibility & contrast

On white

8.88
#12552E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12552E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12552E#FFFFFF#000000##FFFFFF
##12552E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12552e;
/* rgb */ color: rgb(18, 85, 46);
/* oklch */ color: oklch(39.8% 0.092 152.9);
Tailwind
colors: {
  custom: {
    50: '#5b8567',
    500: '#12552e',
    950: '#000000',
  },
}
SCSS
$custom: #12552e;
$custom-light: #5b8567;
$custom-dark: #000000;
JSON
{
  "hex": "#12552e",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 46
  },
  "hsl": {
    "h": 145.075,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.09236,
    "h": 152.9
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#12552E
secondary
#8E3569
accent
#40A2E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12552E

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

Preview Lab → · Contrast checker → · Palette generator →

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