#12712C#12712C

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

Color values

HEX#12712C
RGBrgb(18, 113, 44)
HSLhsl(136, 73%, 26%)
HSVhsv(136, 84%, 44%)
CMYKcmyk(84.1%, 0%, 61.1%, 55.7%)
CIE-LABlab(41.41, -41.84, 30.48)
CIE-LCHlch(41.41, 51.76, 143.92°)
OKLaboklab(48.1% -0.1124 0.0723)
OKLCHoklch(48.1% 0.134 147.3)
XYZxyz(6.6087, 12.1199, 4.3735)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12712C #711257
analogous
#277112 #12712C #12715B
triadic
#12712C #2C1271 #712C12
tetradic
#12712C #122771 #711257 #715B12
square
#12712C #122771 #711257 #715B12
split-complementary
#12712C #5B1271 #711227
monochromatic
#041A0A #0A3C17 #12712C #1AA641 #23DB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12712C#FFFFFF#000000##FFFFFF
##12712C1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12712c;
/* rgb */ color: rgb(18, 113, 44);
/* oklch */ color: oklch(48.1% 0.134 147.3);
Tailwind
colors: {
  custom: {
    50: '#639b67',
    500: '#12712c',
    950: '#000000',
  },
}
SCSS
$custom: #12712c;
$custom-light: #639b67;
$custom-dark: #000000;
JSON
{
  "hex": "#12712c",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 136.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.13366,
    "h": 147.3
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#12712C
secondary
#A83789
accent
#39BDEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12712C

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

Preview Lab → · Contrast checker → · Palette generator →

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