#12722E#12722E

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

Color values

HEX#12722E
RGBrgb(18, 114, 46)
HSLhsl(138, 73%, 26%)
HSVhsv(138, 84%, 45%)
CMYKcmyk(84.2%, 0%, 59.6%, 55.3%)
CIE-LABlab(41.78, -41.91, 29.90)
CIE-LCHlch(41.78, 51.48, 144.49°)
OKLaboklab(48.42% -0.1126 0.0712)
OKLCHoklch(48.42% 0.133 147.7)
XYZxyz(6.7594, 12.3597, 4.6136)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12722E #721256
analogous
#267212 #12722E #12725E
triadic
#12722E #2E1272 #722E12
tetradic
#12722E #122672 #721256 #725E12
square
#12722E #122672 #721256 #725E12
split-complementary
#12722E #5E1272 #721226
monochromatic
#041A0B #0A3D19 #12722E #1AA743 #23DC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12722e;
/* rgb */ color: rgb(18, 114, 46);
/* oklch */ color: oklch(48.4% 0.133 147.7);
Tailwind
colors: {
  custom: {
    50: '#639c69',
    500: '#12722e',
    950: '#000000',
  },
}
SCSS
$custom: #12722e;
$custom-light: #639c69;
$custom-dark: #000000;
JSON
{
  "hex": "#12722e",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 46
  },
  "hsl": {
    "h": 137.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.13319,
    "h": 147.7
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#12722E
secondary
#A93788
accent
#38BAEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12722E

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

Preview Lab → · Contrast checker → · Palette generator →

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