#12732B#12732B

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

Color values

HEX#12732B
RGBrgb(18, 115, 43)
HSLhsl(135, 73%, 26%)
HSVhsv(135, 84%, 45%)
CMYKcmyk(84.3%, 0%, 62.6%, 54.9%)
CIE-LABlab(42.10, -42.70, 31.79)
CIE-LCHlch(42.10, 53.23, 143.33°)
OKLaboklab(48.67% -0.1148 0.075)
OKLCHoklch(48.67% 0.137 146.8)
XYZxyz(6.8157, 12.5636, 4.3508)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732B #73125A
analogous
#297312 #12732B #12735B
triadic
#12732B #2B1273 #732B12
tetradic
#12732B #122973 #73125A #735B12
square
#12732B #122973 #73125A #735B12
split-complementary
#12732B #5B1273 #731229
monochromatic
#041A0A #0A3E17 #12732B #1AA83F #23DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12732B#FFFFFF#000000##FFFFFF
##12732B1.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)
#756823
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12732b;
/* rgb */ color: rgb(18, 115, 43);
/* oklch */ color: oklch(48.7% 0.137 146.8);
Tailwind
colors: {
  custom: {
    50: '#649c67',
    500: '#12732b',
    950: '#000000',
  },
}
SCSS
$custom: #12732b;
$custom-light: #649c67;
$custom-dark: #000000;
JSON
{
  "hex": "#12732b",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 43
  },
  "hsl": {
    "h": 135.464,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.13714,
    "h": 146.8
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#12732B
secondary
#AA378C
accent
#38C0F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732B

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

Preview Lab → · Contrast checker → · Palette generator →

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