#12721C#12721C

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

Color values

HEX#12721C
RGBrgb(18, 114, 28)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 45%)
CMYKcmyk(84.2%, 0%, 75.4%, 55.3%)
CIE-LABlab(41.60, -44.08, 38.11)
CIE-LCHlch(41.60, 58.27, 139.15°)
OKLaboklab(48.22% -0.1192 0.0867)
OKLCHoklch(48.22% 0.147 144)
XYZxyz(6.4759, 12.2463, 3.1208)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12721C #721268
analogous
#387212 #12721C #12724C
triadic
#12721C #1C1272 #721C12
tetradic
#12721C #123872 #721268 #724C12
square
#12721C #123872 #721268 #724C12
split-complementary
#12721C #4C1272 #721238
monochromatic
#041A06 #0A3D0F #12721C #1AA729 #23DC36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12721C#FFFFFF#000000##FFFFFF
##12721C1.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)
#74660D
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12721c;
/* rgb */ color: rgb(18, 114, 28);
/* oklch */ color: oklch(48.2% 0.147 144.0);
Tailwind
colors: {
  custom: {
    50: '#649c5e',
    500: '#12721c',
    950: '#000000',
  },
}
SCSS
$custom: #12721c;
$custom-light: #649c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12721c",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 28
  },
  "hsl": {
    "h": 126.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.14736,
    "h": 144
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#12721C
secondary
#A9379D
accent
#38DCEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12721C

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

Preview Lab → · Contrast checker → · Palette generator →

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