#127C1A#127C1A

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

Color values

HEX#127C1A
RGBrgb(18, 124, 26)
HSLhsl(125, 75%, 28%)
HSVhsv(125, 85%, 49%)
CMYKcmyk(85.5%, 0%, 79%, 51.4%)
CIE-LABlab(45.11, -47.57, 42.40)
CIE-LCHlch(45.11, 63.73, 138.29°)
OKLaboklab(51.12% -0.1288 0.0953)
OKLCHoklch(51.12% 0.16 143.5)
XYZxyz(7.6430, 14.6175, 3.3957)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C1A #7C1274
analogous
#3F7C12 #127C1A #127C4F
triadic
#127C1A #1A127C #7C1A12
tetradic
#127C1A #123F7C #7C1274 #7C4F12
square
#127C1A #123F7C #7C1274 #7C4F12
split-complementary
#127C1A #4F127C #7C123F
monochromatic
#041B06 #0A470F #127C1A #1AB125 #29E036

Accessibility & contrast

On white

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

On black

3.92
#127C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127C1A#FFFFFF#000000##FFFFFF
##127C1A1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c1a;
/* rgb */ color: rgb(18, 124, 26);
/* oklch */ color: oklch(51.1% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#67a35e',
    500: '#127c1a',
    950: '#000000',
  },
}
SCSS
$custom: #127c1a;
$custom-light: #67a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#127c1a",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 124.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.16023,
    "h": 143.5
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#127C1A
secondary
#B238A9
accent
#37E3F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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