#127E1A#127E1A

#127E1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.163 H 143.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#127E1A
RGBrgb(18, 126, 26)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 49%)
CMYKcmyk(85.7%, 0%, 79.4%, 50.6%)
CIE-LABlab(45.80, -48.22, 43.09)
CIE-LCHlch(45.80, 64.67, 138.22°)
OKLaboklab(51.7% -0.1305 0.0968)
OKLCHoklch(51.7% 0.163 143.5)
XYZxyz(7.8962, 15.1239, 3.4801)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E1A #7E1276
analogous
#407E12 #127E1A #127E50
triadic
#127E1A #1A127E #7E1A12
tetradic
#127E1A #12407E #7E1276 #7E5012
square
#127E1A #12407E #7E1276 #7E5012
split-complementary
#127E1A #50127E #7E1240
monochromatic
#041B06 #0A480F #127E1A #1AB425 #2AE137

Accessibility & contrast

On white

5.22
#127E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E1A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E1A#FFFFFF#000000##FFFFFF
##127E1A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e1a;
/* rgb */ color: rgb(18, 126, 26);
/* oklch */ color: oklch(51.7% 0.163 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a45f',
    500: '#127e1a',
    950: '#000000',
  },
}
SCSS
$custom: #127e1a;
$custom-light: #68a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#127e1a",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 124.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.1625,
    "h": 143.5
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

primary
#127E1A
secondary
#B438AB
accent
#36E4F2
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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