#127A16#127A16

#127A16 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.160 H 143.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#127A16
RGBrgb(18, 122, 22)
HSLhsl(122, 74%, 27%)
HSVhsv(122, 85%, 48%)
CMYKcmyk(85.2%, 0%, 82%, 52.2%)
CIE-LABlab(44.38, -47.22, 43.08)
CIE-LCHlch(44.38, 63.92, 137.63°)
OKLaboklab(50.51% -0.128 0.0962)
OKLCHoklch(50.51% 0.16 143.1)
XYZxyz(7.3533, 14.1047, 3.0938)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A16 #7A1276
analogous
#427A12 #127A16 #127A4A
triadic
#127A16 #16127A #7A1612
tetradic
#127A16 #12427A #7A1276 #7A4A12
square
#127A16 #12427A #7A1276 #7A4A12
split-complementary
#127A16 #4A127A #7A1242
monochromatic
#041B05 #0A450C #127A16 #1AAF20 #27DF2E

Accessibility & contrast

On white

5.50
#127A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#127A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A16
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A16#FFFFFF#000000##FFFFFF
##127A161.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#007667
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a16;
/* rgb */ color: rgb(18, 122, 22);
/* oklch */ color: oklch(50.5% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#67a25c',
    500: '#127a16',
    950: '#000000',
  },
}
SCSS
$custom: #127a16;
$custom-light: #67a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#127a16",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 122.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.16009,
    "h": 143.1
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#127A16
secondary
#B038AC
accent
#37EAF1
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127A16

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

Preview Lab → · Contrast checker → · Palette generator →

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