#12741C#12741C

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

Color values

HEX#12741C
RGBrgb(18, 116, 28)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 45%)
CMYKcmyk(84.5%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.31, -44.76, 38.84)
CIE-LCHlch(42.31, 59.26, 139.05°)
OKLaboklab(48.8% -0.121 0.0882)
OKLCHoklch(48.8% 0.15 143.9)
XYZxyz(6.7040, 12.7024, 3.1969)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741C #74126A
analogous
#397412 #12741C #12744D
triadic
#12741C #1C1274 #741C12
tetradic
#12741C #123974 #74126A #744D12
square
#12741C #123974 #74126A #744D12
split-complementary
#12741C #4D1274 #741239
monochromatic
#041A06 #0A3F0F #12741C #1AA929 #23DD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12741c;
/* rgb */ color: rgb(18, 116, 28);
/* oklch */ color: oklch(48.8% 0.150 143.9);
Tailwind
colors: {
  custom: {
    50: '#659d5e',
    500: '#12741c',
    950: '#000000',
  },
}
SCSS
$custom: #12741c;
$custom-light: #659d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#12741c",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 126.122,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.14974,
    "h": 143.9
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#12741C
secondary
#AB379F
accent
#38DDF0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12741C

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

Preview Lab → · Contrast checker → · Palette generator →

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