#127F41#127F41

#127F41 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.133 H 151.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#127F41
RGBrgb(18, 127, 65)
HSLhsl(146, 75%, 28%)
HSVhsv(146, 86%, 50%)
CMYKcmyk(85.8%, 0%, 48.8%, 50.2%)
CIE-LABlab(46.56, -43.54, 25.65)
CIE-LCHlch(46.56, 50.53, 149.50°)
OKLaboklab(52.47% -0.1168 0.0628)
OKLCHoklch(52.47% 0.133 151.8)
XYZxyz(8.7922, 15.6879, 7.5647)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F41 #7F1250
analogous
#197F12 #127F41 #127F77
triadic
#127F41 #41127F #7F4112
tetradic
#127F41 #12197F #7F1250 #7F7712
square
#127F41 #12197F #7F1250 #7F7712
split-complementary
#127F41 #77127F #7F1219
monochromatic
#041B0E #0A4926 #127F41 #1AB55C #2BE179

Accessibility & contrast

On white

5.08
#127F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#127F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F41
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F41#FFFFFF#000000##FFFFFF
##127F411.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733C
Deuteranopia (green-blind)
#736B45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f41;
/* rgb */ color: rgb(18, 127, 65);
/* oklch */ color: oklch(52.5% 0.133 151.8);
Tailwind
colors: {
  custom: {
    50: '#66a576',
    500: '#127f41',
    950: '#000000',
  },
}
SCSS
$custom: #127f41;
$custom-light: #66a576;
$custom-dark: #000000;
JSON
{
  "hex": "#127f41",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 145.872,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.13262,
    "h": 151.8
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#127F41
secondary
#B5387F
accent
#36A1F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127F41

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

Preview Lab → · Contrast checker → · Palette generator →

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