#127C1F#127C1F

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

Color values

HEX#127C1F
RGBrgb(18, 124, 31)
HSLhsl(127, 75%, 28%)
HSVhsv(127, 85%, 49%)
CMYKcmyk(85.5%, 0%, 75%, 51.4%)
CIE-LABlab(45.14, -47.15, 40.54)
CIE-LCHlch(45.14, 62.18, 139.31°)
OKLaboklab(51.16% -0.1274 0.0922)
OKLCHoklch(51.16% 0.157 144.1)
XYZxyz(7.7039, 14.6419, 3.7162)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C1F #7C126F
analogous
#3A7C12 #127C1F #127C54
triadic
#127C1F #1F127C #7C1F12
tetradic
#127C1F #123A7C #7C126F #7C5412
square
#127C1F #123A7C #7C126F #7C5412
split-complementary
#127C1F #54127C #7C123A
monochromatic
#041B07 #0A4712 #127C1F #1AB12C #29E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127C1F#FFFFFF#000000##FFFFFF
##127C1F1.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)
#7E700F
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c1f;
/* rgb */ color: rgb(18, 124, 31);
/* oklch */ color: oklch(51.2% 0.157 144.1);
Tailwind
colors: {
  custom: {
    50: '#67a361',
    500: '#127c1f',
    950: '#000000',
  },
}
SCSS
$custom: #127c1f;
$custom-light: #67a361;
$custom-dark: #000000;
JSON
{
  "hex": "#127c1f",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 127.358,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.15723,
    "h": 144.1
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#127C1F
secondary
#B238A3
accent
#37DAF1
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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