#127A1D#127A1D

#127A1D is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.156 H 143.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#127A1D
RGBrgb(18, 122, 29)
HSLhsl(126, 74%, 27%)
HSVhsv(126, 85%, 48%)
CMYKcmyk(85.2%, 0%, 76.2%, 52.2%)
CIE-LABlab(44.43, -46.67, 40.60)
CIE-LCHlch(44.43, 61.85, 138.98°)
OKLaboklab(50.57% -0.1262 0.092)
OKLCHoklch(50.57% 0.156 143.9)
XYZxyz(7.4303, 14.1355, 3.4990)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A1D #7A126F
analogous
#3B7A12 #127A1D #127A51
triadic
#127A1D #1D127A #7A1D12
tetradic
#127A1D #123B7A #7A126F #7A5112
square
#127A1D #123B7A #7A126F #7A5112
split-complementary
#127A1D #51127A #7A123B
monochromatic
#041B06 #0A4510 #127A1D #1AAF2A #27DF3B

Accessibility & contrast

On white

5.49
#127A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#127A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A1D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A1D#FFFFFF#000000##FFFFFF
##127A1D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0C
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a1d;
/* rgb */ color: rgb(18, 122, 29);
/* oklch */ color: oklch(50.6% 0.156 143.9);
Tailwind
colors: {
  custom: {
    50: '#66a260',
    500: '#127a1d',
    950: '#000000',
  },
}
SCSS
$custom: #127a1d;
$custom-light: #66a260;
$custom-dark: #000000;
JSON
{
  "hex": "#127a1d",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 126.346,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.15616,
    "h": 143.9
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#127A1D
secondary
#B038A3
accent
#37DDF1
background
#F6FAF5
surface
#EBF3EA
border
#C6CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127A1D

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

Preview Lab → · Contrast checker → · Palette generator →

#127A1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva