#12721B#12721B

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

Color values

HEX#12721B
RGBrgb(18, 114, 27)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 45%)
CMYKcmyk(84.2%, 0%, 76.3%, 55.3%)
CIE-LABlab(41.60, -44.17, 38.51)
CIE-LCHlch(41.60, 58.60, 138.92°)
OKLaboklab(48.21% -0.1195 0.0874)
OKLCHoklch(48.21% 0.148 143.8)
XYZxyz(6.4642, 12.2416, 3.0589)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12721B #721269
analogous
#397212 #12721B #12724B
triadic
#12721B #1B1272 #721B12
tetradic
#12721B #123972 #721269 #724B12
square
#12721B #123972 #721269 #724B12
split-complementary
#12721B #4B1272 #721239
monochromatic
#041A06 #0A3D0E #12721B #1AA728 #23DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12721b;
/* rgb */ color: rgb(18, 114, 27);
/* oklch */ color: oklch(48.2% 0.148 143.8);
Tailwind
colors: {
  custom: {
    50: '#649c5d',
    500: '#12721b',
    950: '#000000',
  },
}
SCSS
$custom: #12721b;
$custom-light: #649c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12721b",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 125.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.14801,
    "h": 143.8
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#12721B
secondary
#A9379E
accent
#38DEEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12721B

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

Preview Lab → · Contrast checker → · Palette generator →

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