#12721F#12721F

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

Color values

HEX#12721F
RGBrgb(18, 114, 31)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 84%, 45%)
CMYKcmyk(84.2%, 0%, 72.8%, 55.3%)
CIE-LABlab(41.63, -43.79, 36.88)
CIE-LCHlch(41.63, 57.25, 139.89°)
OKLaboklab(48.24% -0.1182 0.0845)
OKLCHoklch(48.24% 0.145 144.5)
XYZxyz(6.5136, 12.2614, 3.3194)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12721F #721265
analogous
#357212 #12721F #12724F
triadic
#12721F #1F1272 #721F12
tetradic
#12721F #123572 #721265 #724F12
square
#12721F #123572 #721265 #724F12
split-complementary
#12721F #4F1272 #721235
monochromatic
#041A07 #0A3D11 #12721F #1AA72D #23DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12721F#FFFFFF#000000##FFFFFF
##12721F1.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)
#746713
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12721f;
/* rgb */ color: rgb(18, 114, 31);
/* oklch */ color: oklch(48.2% 0.145 144.5);
Tailwind
colors: {
  custom: {
    50: '#649c60',
    500: '#12721f',
    950: '#000000',
  },
}
SCSS
$custom: #12721f;
$custom-light: #649c60;
$custom-dark: #000000;
JSON
{
  "hex": "#12721f",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 128.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.14532,
    "h": 144.5
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#12721F
secondary
#A93799
accent
#38D7EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12721F

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

Preview Lab → · Contrast checker → · Palette generator →

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