#12722B#12722B

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

Color values

HEX#12722B
RGBrgb(18, 114, 43)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 84%, 45%)
CMYKcmyk(84.2%, 0%, 62.3%, 55.3%)
CIE-LABlab(41.75, -42.34, 31.39)
CIE-LCHlch(41.75, 52.70, 143.45°)
OKLaboklab(48.38% -0.1138 0.0741)
OKLCHoklch(48.38% 0.136 146.9)
XYZxyz(6.7023, 12.3368, 4.3130)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722B #721259
analogous
#297212 #12722B #12725B
triadic
#12722B #2B1272 #722B12
tetradic
#12722B #122972 #721259 #725B12
square
#12722B #122972 #721259 #725B12
split-complementary
#12722B #5B1272 #721229
monochromatic
#041A0A #0A3D17 #12722B #1AA73F #23DC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12722B#FFFFFF#000000##FFFFFF
##12722B1.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)
#746724
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12722b;
/* rgb */ color: rgb(18, 114, 43);
/* oklch */ color: oklch(48.4% 0.136 146.9);
Tailwind
colors: {
  custom: {
    50: '#639c67',
    500: '#12722b',
    950: '#000000',
  },
}
SCSS
$custom: #12722b;
$custom-light: #639c67;
$custom-dark: #000000;
JSON
{
  "hex": "#12722b",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 135.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.13584,
    "h": 146.9
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#12722B
secondary
#A9378B
accent
#38C0EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722B

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

Preview Lab → · Contrast checker → · Palette generator →

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