#12532A#12532A

#12532A is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.094 H 151.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#12532A
RGBrgb(18, 83, 42)
HSLhsl(142, 64%, 20%)
HSVhsv(142, 78%, 33%)
CMYKcmyk(78.3%, 0%, 49.4%, 67.5%)
CIE-LABlab(30.60, -30.48, 18.34)
CIE-LCHlch(30.60, 35.57, 148.96°)
OKLaboklab(39.14% -0.082 0.0451)
OKLCHoklch(39.14% 0.094 151.2)
XYZxyz(3.7603, 6.4819, 3.2430)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12532A #53123B
analogous
#1B5312 #12532A #12534B
triadic
#12532A #2A1253 #532A12
tetradic
#12532A #121B53 #53123B #534B12
square
#12532A #121B53 #53123B #534B12
split-complementary
#12532A #4B1253 #53121B
monochromatic
#05190D #072111 #12532A #1D8543 #28B85D

Accessibility & contrast

On white

9.14
#12532A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#12532A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12532A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12532A#FFFFFF#000000##FFFFFF
##12532A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12532a;
/* rgb */ color: rgb(18, 83, 42);
/* oklch */ color: oklch(39.1% 0.094 151.2);
Tailwind
colors: {
  custom: {
    50: '#5b8464',
    500: '#12532a',
    950: '#000000',
  },
}
SCSS
$custom: #12532a;
$custom-light: #5b8464;
$custom-dark: #000000;
JSON
{
  "hex": "#12532a",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 42
  },
  "hsl": {
    "h": 142.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.09359,
    "h": 151.2
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#12532A
secondary
#8C356C
accent
#40AAE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12532A

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

Preview Lab → · Contrast checker → · Palette generator →

#12532A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva