#12732E#12732E

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

Color values

HEX#12732E
RGBrgb(18, 115, 46)
HSLhsl(137, 73%, 26%)
HSVhsv(137, 84%, 45%)
CMYKcmyk(84.3%, 0%, 60%, 54.9%)
CIE-LABlab(42.13, -42.27, 30.31)
CIE-LCHlch(42.13, 52.02, 144.35°)
OKLaboklab(48.71% -0.1136 0.0721)
OKLCHoklch(48.71% 0.135 147.6)
XYZxyz(6.8728, 12.5865, 4.6515)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732E #731257
analogous
#267312 #12732E #12735E
triadic
#12732E #2E1273 #732E12
tetradic
#12732E #122673 #731257 #735E12
square
#12732E #122673 #731257 #735E12
split-complementary
#12732E #5E1273 #731226
monochromatic
#041A0B #0A3E19 #12732E #1AA843 #23DD58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12732E#FFFFFF#000000##FFFFFF
##12732E1.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)
#746827
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12732e;
/* rgb */ color: rgb(18, 115, 46);
/* oklch */ color: oklch(48.7% 0.135 147.6);
Tailwind
colors: {
  custom: {
    50: '#649c69',
    500: '#12732e',
    950: '#000000',
  },
}
SCSS
$custom: #12732e;
$custom-light: #649c69;
$custom-dark: #000000;
JSON
{
  "hex": "#12732e",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 46
  },
  "hsl": {
    "h": 137.32,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.1345,
    "h": 147.6
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#12732E
secondary
#AA3789
accent
#38BBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732E

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

Preview Lab → · Contrast checker → · Palette generator →

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