#12732D#12732D

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

Color values

HEX#12732D
RGBrgb(18, 115, 45)
HSLhsl(137, 73%, 26%)
HSVhsv(137, 84%, 45%)
CMYKcmyk(84.3%, 0%, 60.9%, 54.9%)
CIE-LABlab(42.12, -42.41, 30.81)
CIE-LCHlch(42.12, 52.43, 144.00°)
OKLaboklab(48.7% -0.114 0.0731)
OKLCHoklch(48.7% 0.135 147.3)
XYZxyz(6.8533, 12.5787, 4.5488)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732D #731258
analogous
#277312 #12732D #12735D
triadic
#12732D #2D1273 #732D12
tetradic
#12732D #122773 #731258 #735D12
square
#12732D #122773 #731258 #735D12
split-complementary
#12732D #5D1273 #731227
monochromatic
#041A0A #0A3E18 #12732D #1AA842 #23DD57

Accessibility & contrast

On white

5.97
#12732D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#12732D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12732D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12732D#FFFFFF#000000##FFFFFF
##12732D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12732d;
/* rgb */ color: rgb(18, 115, 45);
/* oklch */ color: oklch(48.7% 0.135 147.3);
Tailwind
colors: {
  custom: {
    50: '#649c68',
    500: '#12732d',
    950: '#000000',
  },
}
SCSS
$custom: #12732d;
$custom-light: #649c68;
$custom-dark: #000000;
JSON
{
  "hex": "#12732d",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 45
  },
  "hsl": {
    "h": 136.701,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.13539,
    "h": 147.3
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#12732D
secondary
#AA378A
accent
#38BDF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732D

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

Preview Lab → · Contrast checker → · Palette generator →

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