#12732A#12732A

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

Color values

HEX#12732A
RGBrgb(18, 115, 42)
HSLhsl(135, 73%, 26%)
HSVhsv(135, 84%, 45%)
CMYKcmyk(84.3%, 0%, 63.5%, 54.9%)
CIE-LABlab(42.09, -42.83, 32.28)
CIE-LCHlch(42.09, 53.63, 143.00°)
OKLaboklab(48.66% -0.1152 0.076)
OKLCHoklch(48.66% 0.138 146.6)
XYZxyz(6.7976, 12.5564, 4.2554)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732A #73125B
analogous
#2A7312 #12732A #12735A
triadic
#12732A #2A1273 #732A12
tetradic
#12732A #122A73 #73125B #735A12
square
#12732A #122A73 #73125B #735A12
split-complementary
#12732A #5A1273 #73122A
monochromatic
#041A0A #0A3E17 #12732A #1AA83D #23DD51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12732A#FFFFFF#000000##FFFFFF
##12732A1.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)
#756822
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12732a;
/* rgb */ color: rgb(18, 115, 42);
/* oklch */ color: oklch(48.7% 0.138 146.6);
Tailwind
colors: {
  custom: {
    50: '#649c66',
    500: '#12732a',
    950: '#000000',
  },
}
SCSS
$custom: #12732a;
$custom-light: #649c66;
$custom-dark: #000000;
JSON
{
  "hex": "#12732a",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 42
  },
  "hsl": {
    "h": 134.845,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.138,
    "h": 146.6
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#12732A
secondary
#AA378D
accent
#38C2F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732A

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

Preview Lab → · Contrast checker → · Palette generator →

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