#127C1E#127C1E

#127C1E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.158 H 144.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#127C1E
RGBrgb(18, 124, 30)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 85%, 49%)
CMYKcmyk(85.5%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.13, -47.24, 40.93)
CIE-LCHlch(45.13, 62.50, 139.10°)
OKLaboklab(51.15% -0.1277 0.0928)
OKLCHoklch(51.15% 0.158 144)
XYZxyz(7.6909, 14.6367, 3.6479)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C1E #7C1270
analogous
#3B7C12 #127C1E #127C53
triadic
#127C1E #1E127C #7C1E12
tetradic
#127C1E #123B7C #7C1270 #7C5312
square
#127C1E #123B7C #7C1270 #7C5312
split-complementary
#127C1E #53127C #7C123B
monochromatic
#041B06 #0A4711 #127C1E #1AB12B #29E03D

Accessibility & contrast

On white

5.35
#127C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#127C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C1E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C1E#FFFFFF#000000##FFFFFF
##127C1E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#736828
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c1e;
/* rgb */ color: rgb(18, 124, 30);
/* oklch */ color: oklch(51.2% 0.158 144.0);
Tailwind
colors: {
  custom: {
    50: '#67a360',
    500: '#127c1e',
    950: '#000000',
  },
}
SCSS
$custom: #127c1e;
$custom-light: #67a360;
$custom-dark: #000000;
JSON
{
  "hex": "#127c1e",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 126.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.15786,
    "h": 144
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#127C1E
secondary
#B238A4
accent
#37DCF1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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