#12722D#12722D

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

Color values

HEX#12722D
RGBrgb(18, 114, 45)
HSLhsl(137, 73%, 26%)
HSVhsv(137, 84%, 45%)
CMYKcmyk(84.2%, 0%, 60.5%, 55.3%)
CIE-LABlab(41.77, -42.05, 30.40)
CIE-LCHlch(41.77, 51.89, 144.14°)
OKLaboklab(48.41% -0.113 0.0722)
OKLCHoklch(48.41% 0.134 147.4)
XYZxyz(6.7399, 12.3519, 4.5110)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722D #721257
analogous
#277212 #12722D #12725D
triadic
#12722D #2D1272 #722D12
tetradic
#12722D #122772 #721257 #725D12
square
#12722D #122772 #721257 #725D12
split-complementary
#12722D #5D1272 #721227
monochromatic
#041A0A #0A3D18 #12722D #1AA742 #23DC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12722D#FFFFFF#000000##FFFFFF
##12722D1.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)
#736726
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12722d;
/* rgb */ color: rgb(18, 114, 45);
/* oklch */ color: oklch(48.4% 0.134 147.4);
Tailwind
colors: {
  custom: {
    50: '#639c68',
    500: '#12722d',
    950: '#000000',
  },
}
SCSS
$custom: #12722d;
$custom-light: #639c68;
$custom-dark: #000000;
JSON
{
  "hex": "#12722d",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 136.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.13408,
    "h": 147.4
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#12722D
secondary
#A93789
accent
#38BCEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722D

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

Preview Lab → · Contrast checker → · Palette generator →

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