#12711C#12711C

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

Color values

HEX#12711C
RGBrgb(18, 113, 28)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 44%)
CMYKcmyk(84.1%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.25, -43.74, 37.75)
CIE-LCHlch(41.25, 57.78, 139.21°)
OKLaboklab(47.92% -0.1183 0.0859)
OKLCHoklch(47.92% 0.146 144)
XYZxyz(6.3637, 12.0219, 3.0835)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711C #711267
analogous
#377112 #12711C #12714B
triadic
#12711C #1C1271 #711C12
tetradic
#12711C #123771 #711267 #714B12
square
#12711C #123771 #711267 #714B12
split-complementary
#12711C #4B1271 #711237
monochromatic
#041A07 #0A3C0F #12711C #1AA629 #23DB36

Accessibility & contrast

On white

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

On black

3.40
#12711C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12711C#FFFFFF#000000##FFFFFF
##12711C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12711c;
/* rgb */ color: rgb(18, 113, 28);
/* oklch */ color: oklch(47.9% 0.146 144.0);
Tailwind
colors: {
  custom: {
    50: '#649b5e',
    500: '#12711c',
    950: '#000000',
  },
}
SCSS
$custom: #12711c;
$custom-light: #649b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12711c",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 126.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.14617,
    "h": 144
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#12711C
secondary
#A8379C
accent
#39DCEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12711C

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

Preview Lab → · Contrast checker → · Palette generator →

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