#12711D#12711D

#12711D is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.145 H 144.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#12711D
RGBrgb(18, 113, 29)
HSLhsl(127, 73%, 26%)
HSVhsv(127, 84%, 44%)
CMYKcmyk(84.1%, 0%, 74.3%, 55.7%)
CIE-LABlab(41.26, -43.64, 37.34)
CIE-LCHlch(41.26, 57.44, 139.45°)
OKLaboklab(47.93% -0.1179 0.0852)
OKLCHoklch(47.93% 0.146 144.2)
XYZxyz(6.3759, 12.0268, 3.1475)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711D #711266
analogous
#377112 #12711D #12714C
triadic
#12711D #1D1271 #711D12
tetradic
#12711D #123771 #711266 #714C12
square
#12711D #123771 #711266 #714C12
split-complementary
#12711D #4C1271 #711237
monochromatic
#041A07 #0A3C0F #12711D #1AA62B #23DB38

Accessibility & contrast

On white

6.17
#12711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#12711D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12711D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12711D#FFFFFF#000000##FFFFFF
##12711D1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660F
Deuteranopia (green-blind)
#695F25
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #12711d;
/* rgb */ color: rgb(18, 113, 29);
/* oklch */ color: oklch(47.9% 0.145 144.2);
Tailwind
colors: {
  custom: {
    50: '#649b5e',
    500: '#12711d',
    950: '#000000',
  },
}
SCSS
$custom: #12711d;
$custom-light: #649b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12711d",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 126.947,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.1455,
    "h": 144.2
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#12711D
secondary
#A8379B
accent
#39DAEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12711D

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

Preview Lab → · Contrast checker → · Palette generator →

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