#12711B#12711B

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

Color values

HEX#12711B
RGBrgb(18, 113, 27)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 44%)
CMYKcmyk(84.1%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.24, -43.83, 38.15)
CIE-LCHlch(41.24, 58.11, 138.97°)
OKLaboklab(47.91% -0.1186 0.0866)
OKLCHoklch(47.91% 0.147 143.9)
XYZxyz(6.3520, 12.0172, 3.0215)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711B #711268
analogous
#387112 #12711B #12714A
triadic
#12711B #1B1271 #711B12
tetradic
#12711B #123871 #711268 #714A12
square
#12711B #123871 #711268 #714A12
split-complementary
#12711B #4A1271 #711238
monochromatic
#041A06 #0A3C0E #12711B #1AA628 #23DB34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12711B#FFFFFF#000000##FFFFFF
##12711B1.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)
#73660C
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #12711b;
/* rgb */ color: rgb(18, 113, 27);
/* oklch */ color: oklch(47.9% 0.147 143.9);
Tailwind
colors: {
  custom: {
    50: '#649b5d',
    500: '#12711b',
    950: '#000000',
  },
}
SCSS
$custom: #12711b;
$custom-light: #649b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12711b",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 125.684,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.14682,
    "h": 143.9
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#12711B
secondary
#A8379D
accent
#39DEEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12711B

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

Preview Lab → · Contrast checker → · Palette generator →

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