#12722A#12722A

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

Color values

HEX#12722A
RGBrgb(18, 114, 42)
HSLhsl(135, 73%, 26%)
HSVhsv(135, 84%, 45%)
CMYKcmyk(84.2%, 0%, 63.2%, 55.3%)
CIE-LABlab(41.74, -42.48, 31.87)
CIE-LCHlch(41.74, 53.10, 143.12°)
OKLaboklab(48.37% -0.1142 0.0751)
OKLCHoklch(48.37% 0.137 146.7)
XYZxyz(6.6842, 12.3296, 4.2176)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722A #72125A
analogous
#2A7212 #12722A #12725A
triadic
#12722A #2A1272 #722A12
tetradic
#12722A #122A72 #72125A #725A12
square
#12722A #122A72 #72125A #725A12
split-complementary
#12722A #5A1272 #72122A
monochromatic
#041A0A #0A3D17 #12722A #1AA73D #23DC51

Accessibility & contrast

On white

6.06
#12722A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12722A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12722A#FFFFFF#000000##FFFFFF
##12722A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12722a;
/* rgb */ color: rgb(18, 114, 42);
/* oklch */ color: oklch(48.4% 0.137 146.7);
Tailwind
colors: {
  custom: {
    50: '#649c66',
    500: '#12722a',
    950: '#000000',
  },
}
SCSS
$custom: #12722a;
$custom-light: #649c66;
$custom-dark: #000000;
JSON
{
  "hex": "#12722a",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 42
  },
  "hsl": {
    "h": 135,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.1367,
    "h": 146.7
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#12722A
secondary
#A9378C
accent
#38C2EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722A

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

Preview Lab → · Contrast checker → · Palette generator →

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