#127F1E#127F1E

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

Color values

HEX#127F1E
RGBrgb(18, 127, 30)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 86%, 50%)
CMYKcmyk(85.8%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.18, -48.22, 41.99)
CIE-LCHlch(46.18, 63.94, 138.95°)
OKLaboklab(52.02% -0.1304 0.095)
OKLCHoklch(52.02% 0.161 143.9)
XYZxyz(8.0726, 15.4001, 3.7751)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F1E #7F1273
analogous
#3C7F12 #127F1E #127F54
triadic
#127F1E #1E127F #7F1E12
tetradic
#127F1E #123C7F #7F1273 #7F5412
square
#127F1E #123C7F #7F1273 #7F5412
split-complementary
#127F1E #54127F #7F123C
monochromatic
#041B06 #0A4911 #127F1E #1AB52B #2BE13F

Accessibility & contrast

On white

5.15
#127F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#127F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F1E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F1E#FFFFFF#000000##FFFFFF
##127F1E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720B
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127f1e;
/* rgb */ color: rgb(18, 127, 30);
/* oklch */ color: oklch(52.0% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a561',
    500: '#127f1e',
    950: '#000000',
  },
}
SCSS
$custom: #127f1e;
$custom-light: #68a561;
$custom-dark: #000000;
JSON
{
  "hex": "#127f1e",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 126.606,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.16133,
    "h": 143.9
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#127F1E
secondary
#B538A7
accent
#36DDF2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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