#12741E#12741E

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

Color values

HEX#12741E
RGBrgb(18, 116, 30)
HSLhsl(127, 73%, 26%)
HSVhsv(127, 84%, 45%)
CMYKcmyk(84.5%, 0%, 74.1%, 54.5%)
CIE-LABlab(42.33, -44.57, 38.04)
CIE-LCHlch(42.33, 58.59, 139.52°)
OKLaboklab(48.82% -0.1204 0.0868)
OKLCHoklch(48.82% 0.148 144.2)
XYZxyz(6.7287, 12.7123, 3.3271)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12741E #741268
analogous
#377412 #12741E #12744F
triadic
#12741E #1E1274 #741E12
tetradic
#12741E #123774 #741268 #744F12
square
#12741E #123774 #741268 #744F12
split-complementary
#12741E #4F1274 #741237
monochromatic
#041A07 #0A3F10 #12741E #1AA92C #23DD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12741e;
/* rgb */ color: rgb(18, 116, 30);
/* oklch */ color: oklch(48.8% 0.148 144.2);
Tailwind
colors: {
  custom: {
    50: '#659d5f',
    500: '#12741e',
    950: '#000000',
  },
}
SCSS
$custom: #12741e;
$custom-light: #659d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#12741e",
  "rgb": {
    "r": 18,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 127.347,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.14842,
    "h": 144.2
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#12741E
secondary
#AB379D
accent
#38D9F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #12741E

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

Preview Lab → · Contrast checker → · Palette generator →

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