#127F16#127F16

#127F16 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.166 H 143.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#127F16
RGBrgb(18, 127, 22)
HSLhsl(122, 75%, 28%)
HSVhsv(122, 86%, 50%)
CMYKcmyk(85.8%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.13, -48.83, 44.74)
CIE-LCHlch(46.13, 66.23, 137.50°)
OKLaboklab(51.97% -0.1324 0.0996)
OKLCHoklch(51.97% 0.166 143)
XYZxyz(7.9831, 15.3643, 3.3038)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F16 #7F127B
analogous
#447F12 #127F16 #127F4C
triadic
#127F16 #16127F #7F1612
tetradic
#127F16 #12447F #7F127B #7F4C12
square
#127F16 #12447F #7F127B #7F4C12
split-complementary
#127F16 #4C127F #7F1244
monochromatic
#041B05 #0A490D #127F16 #1AB51F #2BE131

Accessibility & contrast

On white

5.16
#127F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#127F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F16#FFFFFF#000000##FFFFFF
##127F161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f16;
/* rgb */ color: rgb(18, 127, 22);
/* oklch */ color: oklch(52.0% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a55d',
    500: '#127f16',
    950: '#000000',
  },
}
SCSS
$custom: #127f16;
$custom-light: #68a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#127f16",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 122.202,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.16568,
    "h": 143
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#127F16
secondary
#B538B0
accent
#36EBF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F16

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

Preview Lab → · Contrast checker → · Palette generator →

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