#12722C#12722C

#12722C is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.135 H 147.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#12722C
RGBrgb(18, 114, 44)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 84%, 45%)
CMYKcmyk(84.2%, 0%, 61.4%, 55.3%)
CIE-LABlab(41.76, -42.20, 30.89)
CIE-LCHlch(41.76, 52.30, 143.79°)
OKLaboklab(48.39% -0.1134 0.0732)
OKLCHoklch(48.39% 0.135 147.2)
XYZxyz(6.7209, 12.3443, 4.4108)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722C #721258
analogous
#287212 #12722C #12725C
triadic
#12722C #2C1272 #722C12
tetradic
#12722C #122872 #721258 #725C12
square
#12722C #122872 #721258 #725C12
split-complementary
#12722C #5C1272 #721228
monochromatic
#041A0A #0A3D18 #12722C #1AA740 #23DC55

Accessibility & contrast

On white

6.05
#12722C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#12722C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12722C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12722C#FFFFFF#000000##FFFFFF
##12722C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736725
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12722c;
/* rgb */ color: rgb(18, 114, 44);
/* oklch */ color: oklch(48.4% 0.135 147.2);
Tailwind
colors: {
  custom: {
    50: '#639c67',
    500: '#12722c',
    950: '#000000',
  },
}
SCSS
$custom: #12722c;
$custom-light: #639c67;
$custom-dark: #000000;
JSON
{
  "hex": "#12722c",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 44
  },
  "hsl": {
    "h": 136.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48391,
    "c": 0.13497,
    "h": 147.2
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#12722C
secondary
#A9378A
accent
#38BEEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722C

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

Preview Lab → · Contrast checker → · Palette generator →

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