#12741D#12741D

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

Color values

HEX#12741D
RGBrgb(18, 116, 29)
HSLhsl(127, 73%, 26%)
HSVhsv(127, 84%, 45%)
CMYKcmyk(84.5%, 0%, 75%, 54.5%)
CIE-LABlab(42.32, -44.66, 38.44)
CIE-LCHlch(42.32, 58.93, 139.28°)
OKLaboklab(48.81% -0.1207 0.0875)
OKLCHoklch(48.81% 0.149 144.1)
XYZxyz(6.7162, 12.7073, 3.2609)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741D #741269
analogous
#387412 #12741D #12744E
triadic
#12741D #1D1274 #741D12
tetradic
#12741D #123874 #741269 #744E12
square
#12741D #123874 #741269 #744E12
split-complementary
#12741D #4E1274 #741238
monochromatic
#041A07 #0A3F10 #12741D #1AA92A #23DD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12741D#FFFFFF#000000##FFFFFF
##12741D1.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)
#76680E
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #12741d;
/* rgb */ color: rgb(18, 116, 29);
/* oklch */ color: oklch(48.8% 0.149 144.1);
Tailwind
colors: {
  custom: {
    50: '#659d5f',
    500: '#12741d',
    950: '#000000',
  },
}
SCSS
$custom: #12741d;
$custom-light: #659d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12741d",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 126.735,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.14909,
    "h": 144.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#12741D
secondary
#AB379E
accent
#38DBF0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12741D

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

Preview Lab → · Contrast checker → · Palette generator →

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