#12741A#12741A

#12741A is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.151 H 143.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#12741A
RGBrgb(18, 116, 26)
HSLhsl(125, 73%, 26%)
HSVhsv(125, 84%, 45%)
CMYKcmyk(84.5%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.30, -44.93, 39.61)
CIE-LCHlch(42.30, 59.90, 138.60°)
OKLaboklab(48.79% -0.1216 0.0895)
OKLCHoklch(48.79% 0.151 143.6)
XYZxyz(6.6809, 12.6931, 3.0750)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741A #74126C
analogous
#3B7412 #12741A #12744B
triadic
#12741A #1A1274 #741A12
tetradic
#12741A #123B74 #74126C #744B12
square
#12741A #123B74 #74126C #744B12
split-complementary
#12741A #4B1274 #74123B
monochromatic
#041A06 #0A3F0E #12741A #1AA926 #23DD33

Accessibility & contrast

On white

5.93
#12741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#12741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12741A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12741A#FFFFFF#000000##FFFFFF
##12741A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #12741a;
/* rgb */ color: rgb(18, 116, 26);
/* oklch */ color: oklch(48.8% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#659d5d',
    500: '#12741a',
    950: '#000000',
  },
}
SCSS
$custom: #12741a;
$custom-light: #659d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#12741a",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 124.898,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.15098,
    "h": 143.6
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#12741A
secondary
#AB37A1
accent
#38E1F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #12741A

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

Preview Lab → · Contrast checker → · Palette generator →

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