#12721E#12721E

#12721E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.2% C 0.146 H 144.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#12721E
RGBrgb(18, 114, 30)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 84%, 45%)
CMYKcmyk(84.2%, 0%, 73.7%, 55.3%)
CIE-LABlab(41.62, -43.89, 37.30)
CIE-LCHlch(41.62, 57.60, 139.64°)
OKLaboklab(48.23% -0.1186 0.0852)
OKLCHoklch(48.23% 0.146 144.3)
XYZxyz(6.5007, 12.2562, 3.2511)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12721E #721266
analogous
#367212 #12721E #12724E
triadic
#12721E #1E1272 #721E12
tetradic
#12721E #123672 #721266 #724E12
square
#12721E #123672 #721266 #724E12
split-complementary
#12721E #4E1272 #721236
monochromatic
#041A07 #0A3D10 #12721E #1AA72C #23DC3A

Accessibility & contrast

On white

6.08
#12721E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#12721E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12721E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12721E#FFFFFF#000000##FFFFFF
##12721E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746711
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12721e;
/* rgb */ color: rgb(18, 114, 30);
/* oklch */ color: oklch(48.2% 0.146 144.3);
Tailwind
colors: {
  custom: {
    50: '#649c5f',
    500: '#12721e',
    950: '#000000',
  },
}
SCSS
$custom: #12721e;
$custom-light: #649c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12721e",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 30
  },
  "hsl": {
    "h": 127.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.14602,
    "h": 144.3
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#12721E
secondary
#A9379B
accent
#38D9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12721E

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

Preview Lab → · Contrast checker → · Palette generator →

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