#12721D#12721D

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

Color values

HEX#12721D
RGBrgb(18, 114, 29)
HSLhsl(127, 73%, 26%)
HSVhsv(127, 84%, 45%)
CMYKcmyk(84.2%, 0%, 74.6%, 55.3%)
CIE-LABlab(41.61, -43.98, 37.71)
CIE-LCHlch(41.61, 57.94, 139.39°)
OKLaboklab(48.22% -0.1189 0.086)
OKLCHoklch(48.22% 0.147 144.1)
XYZxyz(6.4881, 12.2511, 3.1849)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12721D #721267
analogous
#377212 #12721D #12724D
triadic
#12721D #1D1272 #721D12
tetradic
#12721D #123772 #721267 #724D12
square
#12721D #123772 #721267 #724D12
split-complementary
#12721D #4D1272 #721237
monochromatic
#041A07 #0A3D10 #12721D #1AA72A #23DC38

Accessibility & contrast

On white

6.09
#12721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12721D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12721D#FFFFFF#000000##FFFFFF
##12721D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12721d;
/* rgb */ color: rgb(18, 114, 29);
/* oklch */ color: oklch(48.2% 0.147 144.1);
Tailwind
colors: {
  custom: {
    50: '#649c5e',
    500: '#12721d',
    950: '#000000',
  },
}
SCSS
$custom: #12721d;
$custom-light: #649c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12721d",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 126.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.1467,
    "h": 144.1
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#12721D
secondary
#A9379C
accent
#38DAEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12721D

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

Preview Lab → · Contrast checker → · Palette generator →

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