#127D1E#127D1E

#127D1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.159 H 144.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#127D1E
RGBrgb(18, 125, 30)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 86%, 49%)
CMYKcmyk(85.6%, 0%, 76%, 51%)
CIE-LABlab(45.48, -47.57, 41.28)
CIE-LCHlch(45.48, 62.98, 139.05°)
OKLaboklab(51.44% -0.1286 0.0936)
OKLCHoklch(51.44% 0.159 144)
XYZxyz(7.8169, 14.8886, 3.6899)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D1E #7D1271
analogous
#3B7D12 #127D1E #127D53
triadic
#127D1E #1E127D #7D1E12
tetradic
#127D1E #123B7D #7D1271 #7D5312
square
#127D1E #123B7D #7D1271 #7D5312
split-complementary
#127D1E #53127D #7D123B
monochromatic
#041B06 #0A4811 #127D1E #1AB22B #29E03E

Accessibility & contrast

On white

5.28
#127D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#127D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D1E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D1E#FFFFFF#000000##FFFFFF
##127D1E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700C
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d1e;
/* rgb */ color: rgb(18, 125, 30);
/* oklch */ color: oklch(51.4% 0.159 144.0);
Tailwind
colors: {
  custom: {
    50: '#67a460',
    500: '#127d1e',
    950: '#000000',
  },
}
SCSS
$custom: #127d1e;
$custom-light: #67a460;
$custom-dark: #000000;
JSON
{
  "hex": "#127d1e",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 126.729,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.15902,
    "h": 144
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#127D1E
secondary
#B338A5
accent
#36DCF1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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