#12711E#12711E

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

Color values

HEX#12711E
RGBrgb(18, 113, 30)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 84%, 44%)
CMYKcmyk(84.1%, 0%, 73.5%, 55.7%)
CIE-LABlab(41.27, -43.55, 36.93)
CIE-LCHlch(41.27, 57.09, 139.70°)
OKLaboklab(47.94% -0.1176 0.0845)
OKLCHoklch(47.94% 0.145 144.3)
XYZxyz(6.3885, 12.0318, 3.2137)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711E #711265
analogous
#357112 #12711E #12714D
triadic
#12711E #1E1271 #711E12
tetradic
#12711E #123571 #711265 #714D12
square
#12711E #123571 #711265 #714D12
split-complementary
#12711E #4D1271 #711235
monochromatic
#041A07 #0A3C10 #12711E #1AA62C #23DB3A

Accessibility & contrast

On white

6.16
#12711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12711E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12711E#FFFFFF#000000##FFFFFF
##12711E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736611
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #12711e;
/* rgb */ color: rgb(18, 113, 30);
/* oklch */ color: oklch(47.9% 0.145 144.3);
Tailwind
colors: {
  custom: {
    50: '#649b5f',
    500: '#12711e',
    950: '#000000',
  },
}
SCSS
$custom: #12711e;
$custom-light: #649b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12711e",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 127.579,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.14481,
    "h": 144.3
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#12711E
secondary
#A8379A
accent
#39D8EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12711E

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

Preview Lab → · Contrast checker → · Palette generator →

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