#127F14#127F14

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

Color values

HEX#127F14
RGBrgb(18, 127, 20)
HSLhsl(121, 75%, 28%)
HSVhsv(121, 86%, 50%)
CMYKcmyk(85.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.12, -48.96, 45.34)
CIE-LCHlch(46.12, 66.73, 137.19°)
OKLaboklab(51.96% -0.1328 0.1006)
OKLCHoklch(51.96% 0.167 142.9)
XYZxyz(7.9646, 15.3569, 3.2061)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F14 #7F127D
analogous
#467F12 #127F14 #127F4A
triadic
#127F14 #14127F #7F1412
tetradic
#127F14 #12467F #7F127D #7F4A12
square
#127F14 #12467F #7F127D #7F4A12
split-complementary
#127F14 #4A127F #7F1246
monochromatic
#041B04 #0A490C #127F14 #1AB51C #2BE12E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F14#FFFFFF#000000##FFFFFF
##127F141.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)
#776A22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f14;
/* rgb */ color: rgb(18, 127, 20);
/* oklch */ color: oklch(52.0% 0.167 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a55c',
    500: '#127f14',
    950: '#000000',
  },
}
SCSS
$custom: #127f14;
$custom-light: #68a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#127f14",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 121.101,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.1666,
    "h": 142.9
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#127F14
secondary
#B538B2
accent
#36EEF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #127F14

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

Preview Lab → · Contrast checker → · Palette generator →

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