#12711A#12711A

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

Color values

HEX#12711A
RGBrgb(18, 113, 26)
HSLhsl(125, 73%, 26%)
HSVhsv(125, 84%, 44%)
CMYKcmyk(84.1%, 0%, 77%, 55.7%)
CIE-LABlab(41.24, -43.92, 38.54)
CIE-LCHlch(41.24, 58.43, 138.74°)
OKLaboklab(47.9% -0.1188 0.0873)
OKLCHoklch(47.9% 0.147 143.7)
XYZxyz(6.3406, 12.0127, 2.9616)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711A #711269
analogous
#397112 #12711A #127149
triadic
#12711A #1A1271 #711A12
tetradic
#12711A #123971 #711269 #714912
square
#12711A #123971 #711269 #714912
split-complementary
#12711A #491271 #711239
monochromatic
#041A06 #0A3C0E #12711A #1AA626 #23DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12711a;
/* rgb */ color: rgb(18, 113, 26);
/* oklch */ color: oklch(47.9% 0.147 143.7);
Tailwind
colors: {
  custom: {
    50: '#649b5d',
    500: '#12711a',
    950: '#000000',
  },
}
SCSS
$custom: #12711a;
$custom-light: #649b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12711a",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 125.053,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.14746,
    "h": 143.7
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#12711A
secondary
#A8379E
accent
#39E0EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #12711A

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

Preview Lab → · Contrast checker → · Palette generator →

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