#12712F#12712F

#12712F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.131 H 148.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#12712F
RGBrgb(18, 113, 47)
HSLhsl(138, 73%, 26%)
HSVhsv(138, 84%, 44%)
CMYKcmyk(84.1%, 0%, 58.4%, 55.7%)
CIE-LABlab(41.44, -41.39, 28.98)
CIE-LCHlch(41.44, 50.53, 145.01°)
OKLaboklab(48.14% -0.1112 0.0692)
OKLCHoklch(48.14% 0.131 148.1)
XYZxyz(6.6671, 12.1433, 4.6813)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12712F #711254
analogous
#247112 #12712F #12715E
triadic
#12712F #2F1271 #712F12
tetradic
#12712F #122471 #711254 #715E12
square
#12712F #122471 #711254 #715E12
split-complementary
#12712F #5E1271 #711224
monochromatic
#041A0B #0A3C19 #12712F #1AA645 #23DB5B

Accessibility & contrast

On white

6.12
#12712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#12712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12712F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12712F#FFFFFF#000000##FFFFFF
##12712F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12712f;
/* rgb */ color: rgb(18, 113, 47);
/* oklch */ color: oklch(48.1% 0.131 148.1);
Tailwind
colors: {
  custom: {
    50: '#639b69',
    500: '#12712f',
    950: '#000000',
  },
}
SCSS
$custom: #12712f;
$custom-light: #639b69;
$custom-dark: #000000;
JSON
{
  "hex": "#12712f",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 138.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.13096,
    "h": 148.1
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#12712F
secondary
#A83785
accent
#39B7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12712F

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

Preview Lab → · Contrast checker → · Palette generator →

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