#127F46#127F46

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

Color values

HEX#127F46
RGBrgb(18, 127, 70)
HSLhsl(149, 75%, 28%)
HSVhsv(149, 86%, 50%)
CMYKcmyk(85.8%, 0%, 44.9%, 50.2%)
CIE-LABlab(46.64, -42.59, 22.99)
CIE-LCHlch(46.64, 48.40, 151.64°)
OKLaboklab(52.56% -0.1144 0.0568)
OKLCHoklch(52.56% 0.128 153.6)
XYZxyz(8.9435, 15.7484, 8.3616)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F46 #7F124B
analogous
#147F12 #127F46 #127F7C
triadic
#127F46 #46127F #7F4612
tetradic
#127F46 #12147F #7F124B #7F7C12
square
#127F46 #12147F #7F124B #7F7C12
split-complementary
#127F46 #7C127F #7F1214
monochromatic
#041B0F #0A4928 #127F46 #1AB564 #2BE182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F46#FFFFFF#000000##FFFFFF
##127F461.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)
#7F7442
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f46;
/* rgb */ color: rgb(18, 127, 70);
/* oklch */ color: oklch(52.6% 0.128 153.6);
Tailwind
colors: {
  custom: {
    50: '#66a57a',
    500: '#127f46',
    950: '#000000',
  },
}
SCSS
$custom: #127f46;
$custom-light: #66a57a;
$custom-dark: #000000;
JSON
{
  "hex": "#127f46",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 148.624,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.12777,
    "h": 153.6
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#127F46
secondary
#B53879
accent
#3698F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127F46

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

Preview Lab → · Contrast checker → · Palette generator →

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