#12732F#12732F

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

Color values

HEX#12732F
RGBrgb(18, 115, 47)
HSLhsl(138, 73%, 26%)
HSVhsv(138, 84%, 45%)
CMYKcmyk(84.3%, 0%, 59.1%, 54.9%)
CIE-LABlab(42.15, -42.12, 29.81)
CIE-LCHlch(42.15, 51.60, 144.71°)
OKLaboklab(48.73% -0.1131 0.071)
OKLCHoklch(48.73% 0.134 147.9)
XYZxyz(6.8927, 12.5945, 4.7565)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12732F #731256
analogous
#257312 #12732F #12735F
triadic
#12732F #2F1273 #732F12
tetradic
#12732F #122573 #731256 #735F12
square
#12732F #122573 #731256 #735F12
split-complementary
#12732F #5F1273 #731225
monochromatic
#041A0B #0A3E19 #12732F #1AA845 #23DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12732f;
/* rgb */ color: rgb(18, 115, 47);
/* oklch */ color: oklch(48.7% 0.134 147.9);
Tailwind
colors: {
  custom: {
    50: '#649c69',
    500: '#12732f',
    950: '#000000',
  },
}
SCSS
$custom: #12732f;
$custom-light: #649c69;
$custom-dark: #000000;
JSON
{
  "hex": "#12732f",
  "rgb": {
    "r": 18,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 137.938,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.13359,
    "h": 147.9
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#12732F
secondary
#AA3787
accent
#38B9F0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12732F

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

Preview Lab → · Contrast checker → · Palette generator →

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