#12722F#12722F

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

Color values

HEX#12722F
RGBrgb(18, 114, 47)
HSLhsl(138, 73%, 26%)
HSVhsv(138, 84%, 45%)
CMYKcmyk(84.2%, 0%, 58.8%, 55.3%)
CIE-LABlab(41.79, -41.76, 29.39)
CIE-LCHlch(41.79, 51.07, 144.86°)
OKLaboklab(48.43% -0.1122 0.0701)
OKLCHoklch(48.43% 0.132 148)
XYZxyz(6.7793, 12.3676, 4.7187)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722F #721255
analogous
#257212 #12722F #12725F
triadic
#12722F #2F1272 #722F12
tetradic
#12722F #122572 #721255 #725F12
square
#12722F #122572 #721255 #725F12
split-complementary
#12722F #5F1272 #721225
monochromatic
#041A0B #0A3D19 #12722F #1AA745 #23DC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12722F#FFFFFF#000000##FFFFFF
##12722F1.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)
#736729
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #12722f;
/* rgb */ color: rgb(18, 114, 47);
/* oklch */ color: oklch(48.4% 0.132 148.0);
Tailwind
colors: {
  custom: {
    50: '#639c69',
    500: '#12722f',
    950: '#000000',
  },
}
SCSS
$custom: #12722f;
$custom-light: #639c69;
$custom-dark: #000000;
JSON
{
  "hex": "#12722f",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 138.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.13228,
    "h": 148
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#12722F
secondary
#A93786
accent
#38B8EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722F

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

Preview Lab → · Contrast checker → · Palette generator →

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