#12742E#12742E

#12742E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.136 H 147.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#12742E
RGBrgb(18, 116, 46)
HSLhsl(137, 73%, 26%)
HSVhsv(137, 84%, 45%)
CMYKcmyk(84.5%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.48, -42.63, 30.73)
CIE-LCHlch(42.48, 52.55, 144.22°)
OKLaboklab(49% -0.1145 0.073)
OKLCHoklch(49% 0.136 147.5)
XYZxyz(6.9874, 12.8158, 4.6897)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12742E #741258
analogous
#277412 #12742E #12745F
triadic
#12742E #2E1274 #742E12
tetradic
#12742E #122774 #741258 #745F12
square
#12742E #122774 #741258 #745F12
split-complementary
#12742E #5F1274 #741227
monochromatic
#041A0B #0A3F19 #12742E #1AA943 #23DD58

Accessibility & contrast

On white

5.89
#12742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#12742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12742E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12742E#FFFFFF#000000##FFFFFF
##12742E1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756927
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #12742e;
/* rgb */ color: rgb(18, 116, 46);
/* oklch */ color: oklch(49.0% 0.136 147.5);
Tailwind
colors: {
  custom: {
    50: '#649d69',
    500: '#12742e',
    950: '#000000',
  },
}
SCSS
$custom: #12742e;
$custom-light: #649d69;
$custom-dark: #000000;
JSON
{
  "hex": "#12742e",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 137.143,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.1358,
    "h": 147.5
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#12742E
secondary
#AB378A
accent
#38BBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #12742E

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

Preview Lab → · Contrast checker → · Palette generator →

#12742E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva