#127D1A#127D1A

#127D1A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.161 H 143.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#127D1A
RGBrgb(18, 125, 26)
HSLhsl(124, 75%, 28%)
HSVhsv(124, 86%, 49%)
CMYKcmyk(85.6%, 0%, 79.2%, 51%)
CIE-LABlab(45.45, -47.90, 42.74)
CIE-LCHlch(45.45, 64.20, 138.25°)
OKLaboklab(51.41% -0.1297 0.0961)
OKLCHoklch(51.41% 0.161 143.5)
XYZxyz(7.7690, 14.8694, 3.4377)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D1A #7D1275
analogous
#3F7D12 #127D1A #127D4F
triadic
#127D1A #1A127D #7D1A12
tetradic
#127D1A #123F7D #7D1275 #7D4F12
square
#127D1A #123F7D #7D1275 #7D4F12
split-complementary
#127D1A #4F127D #7D123F
monochromatic
#041B06 #0A480F #127D1A #1AB225 #29E037

Accessibility & contrast

On white

5.28
#127D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#127D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D1A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D1A#FFFFFF#000000##FFFFFF
##127D1A1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d1a;
/* rgb */ color: rgb(18, 125, 26);
/* oklch */ color: oklch(51.4% 0.161 143.5);
Tailwind
colors: {
  custom: {
    50: '#67a45e',
    500: '#127d1a',
    950: '#000000',
  },
}
SCSS
$custom: #127d1a;
$custom-light: #67a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#127d1a",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 124.486,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.16136,
    "h": 143.5
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#127D1A
secondary
#B338AA
accent
#36E3F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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