#12712A#12712A

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

Color values

HEX#12712A
RGBrgb(18, 113, 42)
HSLhsl(135, 73%, 26%)
HSVhsv(135, 84%, 44%)
CMYKcmyk(84.1%, 0%, 62.8%, 55.7%)
CIE-LABlab(41.38, -42.12, 31.47)
CIE-LCHlch(41.38, 52.57, 143.24°)
OKLaboklab(48.07% -0.1133 0.0742)
OKLCHoklch(48.07% 0.135 146.8)
XYZxyz(6.5720, 12.1052, 4.1802)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12712A #711259
analogous
#297112 #12712A #127159
triadic
#12712A #2A1271 #712A12
tetradic
#12712A #122971 #711259 #715912
square
#12712A #122971 #711259 #715912
split-complementary
#12712A #591271 #711229
monochromatic
#041A0A #0A3C16 #12712A #1AA63E #23DB51

Accessibility & contrast

On white

6.14
#12712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#12712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12712A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12712A#FFFFFF#000000##FFFFFF
##12712A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12712a;
/* rgb */ color: rgb(18, 113, 42);
/* oklch */ color: oklch(48.1% 0.135 146.8);
Tailwind
colors: {
  custom: {
    50: '#639b66',
    500: '#12712a',
    950: '#000000',
  },
}
SCSS
$custom: #12712a;
$custom-light: #639b66;
$custom-dark: #000000;
JSON
{
  "hex": "#12712a",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 135.158,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.13541,
    "h": 146.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#12712A
secondary
#A8378B
accent
#39C1EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12712A

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

Preview Lab → · Contrast checker → · Palette generator →

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