#12732C#12732C

#12732C is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.136 H 147.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#12732C
RGBrgb(18, 115, 44)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 84%, 45%)
CMYKcmyk(84.3%, 0%, 61.7%, 54.9%)
CIE-LABlab(42.11, -42.56, 31.30)
CIE-LCHlch(42.11, 52.83, 143.66°)
OKLaboklab(48.68% -0.1144 0.074)
OKLCHoklch(48.68% 0.136 147.1)
XYZxyz(6.8343, 12.5711, 4.4487)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732C #731259
analogous
#297312 #12732C #12735C
triadic
#12732C #2C1273 #732C12
tetradic
#12732C #122973 #731259 #735C12
square
#12732C #122973 #731259 #735C12
split-complementary
#12732C #5C1273 #731229
monochromatic
#041A0A #0A3E18 #12732C #1AA840 #23DD55

Accessibility & contrast

On white

5.98
#12732C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#12732C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12732C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12732C#FFFFFF#000000##FFFFFF
##12732C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746825
Deuteranopia (green-blind)
#6A6032
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12732c;
/* rgb */ color: rgb(18, 115, 44);
/* oklch */ color: oklch(48.7% 0.136 147.1);
Tailwind
colors: {
  custom: {
    50: '#649c68',
    500: '#12732c',
    950: '#000000',
  },
}
SCSS
$custom: #12732c;
$custom-light: #649c68;
$custom-dark: #000000;
JSON
{
  "hex": "#12732c",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 44
  },
  "hsl": {
    "h": 136.082,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.13627,
    "h": 147.1
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#12732C
secondary
#AA378B
accent
#38BEF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732C

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

Preview Lab → · Contrast checker → · Palette generator →

#12732C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva