#12713B#12713B

#12713B is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.3% C 0.119 H 152.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#12713B
RGBrgb(18, 113, 59)
HSLhsl(146, 73%, 26%)
HSVhsv(146, 84%, 44%)
CMYKcmyk(84.1%, 0%, 47.8%, 55.7%)
CIE-LABlab(41.62, -39.33, 22.66)
CIE-LCHlch(41.62, 45.39, 150.05°)
OKLaboklab(48.34% -0.1056 0.0557)
OKLCHoklch(48.34% 0.119 152.2)
XYZxyz(6.9434, 12.2538, 6.1361)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12713B #711248
analogous
#187112 #12713B #12716A
triadic
#12713B #3B1271 #713B12
tetradic
#12713B #121871 #711248 #716A12
square
#12713B #121871 #711248 #716A12
split-complementary
#12713B #6A1271 #711218
monochromatic
#041A0E #0A3C1F #12713B #1AA657 #23DB72

Accessibility & contrast

On white

6.09
#12713B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#12713B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12713B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12713B#FFFFFF#000000##FFFFFF
##12713B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716737
Deuteranopia (green-blind)
#675F3F
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #12713b;
/* rgb */ color: rgb(18, 113, 59);
/* oklch */ color: oklch(48.3% 0.119 152.2);
Tailwind
colors: {
  custom: {
    50: '#639b72',
    500: '#12713b',
    950: '#000000',
  },
}
SCSS
$custom: #12713b;
$custom-light: #639b72;
$custom-dark: #000000;
JSON
{
  "hex": "#12713b",
  "rgb": {
    "r": 18,
    "g": 113,
    "b": 59
  },
  "hsl": {
    "h": 145.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.11941,
    "h": 152.2
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#12713B
secondary
#A83777
accent
#39A0EF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #12713B

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

Preview Lab → · Contrast checker → · Palette generator →

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