#127F47#127F47

#127F47 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.127 H 154.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#127F47
RGBrgb(18, 127, 71)
HSLhsl(149, 75%, 28%)
HSVhsv(149, 86%, 50%)
CMYKcmyk(85.8%, 0%, 44.1%, 50.2%)
CIE-LABlab(46.66, -42.40, 22.46)
CIE-LCHlch(46.66, 47.98, 152.09°)
OKLaboklab(52.58% -0.1139 0.0556)
OKLCHoklch(52.58% 0.127 154)
XYZxyz(8.9753, 15.7611, 8.5292)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F47 #7F124A
analogous
#147F12 #127F47 #127F7D
triadic
#127F47 #47127F #7F4712
tetradic
#127F47 #12147F #7F124A #7F7D12
square
#127F47 #12147F #7F124A #7F7D12
split-complementary
#127F47 #7D127F #7F1214
monochromatic
#041B0F #0A4929 #127F47 #1AB565 #2BE183

Accessibility & contrast

On white

5.06
#127F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#127F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F47
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F47#FFFFFF#000000##FFFFFF
##127F471.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7443
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f47;
/* rgb */ color: rgb(18, 127, 71);
/* oklch */ color: oklch(52.6% 0.127 154.0);
Tailwind
colors: {
  custom: {
    50: '#66a57b',
    500: '#127f47',
    950: '#000000',
  },
}
SCSS
$custom: #127f47;
$custom-light: #66a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#127f47",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 149.174,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.12679,
    "h": 154
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#127F47
secondary
#B53878
accent
#3696F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127F47

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

Preview Lab → · Contrast checker → · Palette generator →

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