#127C19#127C19

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

Color values

HEX#127C19
RGBrgb(18, 124, 25)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 85%, 49%)
CMYKcmyk(85.5%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.10, -47.65, 42.75)
CIE-LCHlch(45.10, 64.02, 138.10°)
OKLaboklab(51.12% -0.129 0.0959)
OKLCHoklch(51.12% 0.161 143.4)
XYZxyz(7.6321, 14.6131, 3.3379)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C19 #7C1275
analogous
#407C12 #127C19 #127C4E
triadic
#127C19 #19127C #7C1912
tetradic
#127C19 #12407C #7C1275 #7C4E12
square
#127C19 #12407C #7C1275 #7C4E12
split-complementary
#127C19 #4E127C #7C1240
monochromatic
#041B05 #0A470E #127C19 #1AB124 #29E035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127C19#FFFFFF#000000##FFFFFF
##127C191.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)
#7F6F02
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c19;
/* rgb */ color: rgb(18, 124, 25);
/* oklch */ color: oklch(51.1% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#67a35e',
    500: '#127c19',
    950: '#000000',
  },
}
SCSS
$custom: #127c19;
$custom-light: #67a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#127c19",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 123.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.16078,
    "h": 143.4
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#127C19
secondary
#B238AA
accent
#37E5F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C19

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

Preview Lab → · Contrast checker → · Palette generator →

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