#127A1E#127A1E

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

Color values

HEX#127A1E
RGBrgb(18, 122, 30)
HSLhsl(127, 74%, 27%)
HSVhsv(127, 85%, 48%)
CMYKcmyk(85.2%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.43, -46.58, 40.21)
CIE-LCHlch(44.43, 61.53, 139.19°)
OKLaboklab(50.57% -0.1259 0.0913)
OKLCHoklch(50.57% 0.156 144)
XYZxyz(7.4428, 14.1405, 3.5652)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A1E #7A126E
analogous
#3A7A12 #127A1E #127A52
triadic
#127A1E #1E127A #7A1E12
tetradic
#127A1E #123A7A #7A126E #7A5212
square
#127A1E #123A7A #7A126E #7A5212
split-complementary
#127A1E #52127A #7A123A
monochromatic
#041B07 #0A4511 #127A1E #1AAF2B #27DF3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127A1E#FFFFFF#000000##FFFFFF
##127A1E1.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)
#7C6E0E
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a1e;
/* rgb */ color: rgb(18, 122, 30);
/* oklch */ color: oklch(50.6% 0.156 144.0);
Tailwind
colors: {
  custom: {
    50: '#66a260',
    500: '#127a1e',
    950: '#000000',
  },
}
SCSS
$custom: #127a1e;
$custom-light: #66a260;
$custom-dark: #000000;
JSON
{
  "hex": "#127a1e",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 126.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.15553,
    "h": 144
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#127A1E
secondary
#B038A2
accent
#37DBF1
background
#F6FAF5
surface
#EBF3EA
border
#C6CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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