#12741B#12741B

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

Color values

HEX#12741B
RGBrgb(18, 116, 27)
HSLhsl(126, 73%, 26%)
HSVhsv(126, 84%, 45%)
CMYKcmyk(84.5%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.30, -44.85, 39.23)
CIE-LCHlch(42.30, 59.58, 138.82°)
OKLaboklab(48.79% -0.1213 0.0889)
OKLCHoklch(48.79% 0.15 143.8)
XYZxyz(6.6922, 12.6977, 3.1349)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741B #74126B
analogous
#3A7412 #12741B #12744C
triadic
#12741B #1B1274 #741B12
tetradic
#12741B #123A74 #74126B #744C12
square
#12741B #123A74 #74126B #744C12
split-complementary
#12741B #4C1274 #74123A
monochromatic
#041A06 #0A3F0F #12741B #1AA927 #23DD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#12741B
secondary
#AB37A0
accent
#38DFF0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12741B

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

Preview Lab → · Contrast checker → · Palette generator →

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