#12712D#12712D

#12712D is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.133 H 147.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#12712D
RGBrgb(18, 113, 45)
HSLhsl(137, 73%, 26%)
HSVhsv(137, 84%, 44%)
CMYKcmyk(84.1%, 0%, 60.2%, 55.7%)
CIE-LABlab(41.42, -41.69, 29.98)
CIE-LCHlch(41.42, 51.35, 144.28°)
OKLaboklab(48.11% -0.112 0.0712)
OKLCHoklch(48.11% 0.133 147.5)
XYZxyz(6.6277, 12.1275, 4.4737)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12712D #711256
analogous
#267112 #12712D #12715C
triadic
#12712D #2D1271 #712D12
tetradic
#12712D #122671 #711256 #715C12
square
#12712D #122671 #711256 #715C12
split-complementary
#12712D #5C1271 #711226
monochromatic
#041A0B #0A3C18 #12712D #1AA642 #23DB57

Accessibility & contrast

On white

6.13
#12712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#12712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12712D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12712D#FFFFFF#000000##FFFFFF
##12712D1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726626
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12712d;
/* rgb */ color: rgb(18, 113, 45);
/* oklch */ color: oklch(48.1% 0.133 147.5);
Tailwind
colors: {
  custom: {
    50: '#639b68',
    500: '#12712d',
    950: '#000000',
  },
}
SCSS
$custom: #12712d;
$custom-light: #639b68;
$custom-dark: #000000;
JSON
{
  "hex": "#12712d",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 137.053,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.13277,
    "h": 147.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#12712D
secondary
#A83788
accent
#39BBEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12712D

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

Preview Lab → · Contrast checker → · Palette generator →

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