#12532F#12532F

#12532F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.088 H 154.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#12532F
RGBrgb(18, 83, 47)
HSLhsl(147, 64%, 20%)
HSVhsv(147, 78%, 33%)
CMYKcmyk(78.3%, 0%, 43.4%, 67.5%)
CIE-LABlab(30.69, -29.44, 15.46)
CIE-LCHlch(30.69, 33.26, 152.30°)
OKLaboklab(39.24% -0.0794 0.0385)
OKLCHoklch(39.24% 0.088 154.1)
XYZxyz(3.8555, 6.5199, 3.7440)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12532F #531236
analogous
#165312 #12532F #12534F
triadic
#12532F #2F1253 #532F12
tetradic
#12532F #121653 #531236 #534F12
square
#12532F #121653 #531236 #534F12
split-complementary
#12532F #4F1253 #531216
monochromatic
#05190E #072113 #12532F #1D854B #28B868

Accessibility & contrast

On white

9.11
#12532F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12532F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12532F#FFFFFF#000000##FFFFFF
##12532F1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12532f;
/* rgb */ color: rgb(18, 83, 47);
/* oklch */ color: oklch(39.2% 0.088 154.1);
Tailwind
colors: {
  custom: {
    50: '#5b8468',
    500: '#12532f',
    950: '#000000',
  },
}
SCSS
$custom: #12532f;
$custom-light: #5b8468;
$custom-dark: #000000;
JSON
{
  "hex": "#12532f",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 47
  },
  "hsl": {
    "h": 146.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39243,
    "c": 0.08826,
    "h": 154.1
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#12532F
secondary
#8C3565
accent
#409DE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12532F

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

Preview Lab → · Contrast checker → · Palette generator →

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