#127A1C#127A1C

#127A1C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#127A1C
RGBrgb(18, 122, 28)
HSLhsl(126, 74%, 27%)
HSVhsv(126, 85%, 48%)
CMYKcmyk(85.2%, 0%, 77%, 52.2%)
CIE-LABlab(44.42, -46.75, 40.98)
CIE-LCHlch(44.42, 62.17, 138.77°)
OKLaboklab(50.56% -0.1265 0.0927)
OKLCHoklch(50.56% 0.157 143.8)
XYZxyz(7.4181, 14.1306, 3.4349)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A1C #7A1270
analogous
#3C7A12 #127A1C #127A50
triadic
#127A1C #1C127A #7A1C12
tetradic
#127A1C #123C7A #7A1270 #7A5012
square
#127A1C #123C7A #7A1270 #7A5012
split-complementary
#127A1C #50127A #7A123C
monochromatic
#041B06 #0A4510 #127A1C #1AAF28 #27DF39

Accessibility & contrast

On white

5.49
#127A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#127A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A1C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A1C#FFFFFF#000000##FFFFFF
##127A1C1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #127a1c;
/* rgb */ color: rgb(18, 122, 28);
/* oklch */ color: oklch(50.6% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a25f',
    500: '#127a1c',
    950: '#000000',
  },
}
SCSS
$custom: #127a1c;
$custom-light: #67a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#127a1c",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 125.769,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.15677,
    "h": 143.8
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#127A1C
secondary
#B038A5
accent
#37DFF1
background
#F6FAF5
surface
#EBF3EA
border
#C6CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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