#12711F#12711F

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

Color values

HEX#12711F
RGBrgb(18, 113, 31)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 84%, 44%)
CMYKcmyk(84.1%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.27, -43.44, 36.51)
CIE-LCHlch(41.27, 56.75, 139.96°)
OKLaboklab(47.95% -0.1173 0.0837)
OKLCHoklch(47.95% 0.144 144.5)
XYZxyz(6.4015, 12.0370, 3.2821)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12711F #711264
analogous
#347112 #12711F #12714E
triadic
#12711F #1F1271 #711F12
tetradic
#12711F #123471 #711264 #714E12
square
#12711F #123471 #711264 #714E12
split-complementary
#12711F #4E1271 #711234
monochromatic
#041A07 #0A3C11 #12711F #1AA62D #23DB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12711F#FFFFFF#000000##FFFFFF
##12711F1.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)
#736613
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #12711f;
/* rgb */ color: rgb(18, 113, 31);
/* oklch */ color: oklch(47.9% 0.144 144.5);
Tailwind
colors: {
  custom: {
    50: '#649b5f',
    500: '#12711f',
    950: '#000000',
  },
}
SCSS
$custom: #12711f;
$custom-light: #649b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12711f",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 128.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.14411,
    "h": 144.5
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#12711F
secondary
#A83798
accent
#39D6EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #12711F

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

Preview Lab → · Contrast checker → · Palette generator →

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