#12741F#12741F

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

Color values

HEX#12741F
RGBrgb(18, 116, 31)
HSLhsl(128, 73%, 26%)
HSVhsv(128, 84%, 45%)
CMYKcmyk(84.5%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.33, -44.47, 37.62)
CIE-LCHlch(42.33, 58.25, 139.77°)
OKLaboklab(48.83% -0.1201 0.0861)
OKLCHoklch(48.83% 0.148 144.4)
XYZxyz(6.7417, 12.7175, 3.3955)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741F #741267
analogous
#367412 #12741F #127450
triadic
#12741F #1F1274 #741F12
tetradic
#12741F #123674 #741267 #745012
square
#12741F #123674 #741267 #745012
split-complementary
#12741F #501274 #741236
monochromatic
#041A07 #0A3F11 #12741F #1AA92D #23DD3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12741F#FFFFFF#000000##FFFFFF
##12741F1.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)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #12741f;
/* rgb */ color: rgb(18, 116, 31);
/* oklch */ color: oklch(48.8% 0.148 144.4);
Tailwind
colors: {
  custom: {
    50: '#659d60',
    500: '#12741f',
    950: '#000000',
  },
}
SCSS
$custom: #12741f;
$custom-light: #659d60;
$custom-dark: #000000;
JSON
{
  "hex": "#12741f",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 127.959,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48829,
    "c": 0.14775,
    "h": 144.4
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#12741F
secondary
#AB379B
accent
#38D7F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12741F

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

Preview Lab → · Contrast checker → · Palette generator →

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