#127E41#127E41

#127E41 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.131 H 151.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127E41
RGBrgb(18, 126, 65)
HSLhsl(146, 75%, 28%)
HSVhsv(146, 86%, 49%)
CMYKcmyk(85.7%, 0%, 48.4%, 50.6%)
CIE-LABlab(46.22, -43.16, 25.21)
CIE-LCHlch(46.22, 49.99, 149.71°)
OKLaboklab(52.18% -0.1158 0.0618)
OKLCHoklch(52.18% 0.131 151.9)
XYZxyz(8.6636, 15.4309, 7.5218)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E41 #7E124F
analogous
#197E12 #127E41 #127E77
triadic
#127E41 #41127E #7E4112
tetradic
#127E41 #12197E #7E124F #7E7712
square
#127E41 #12197E #7E124F #7E7712
split-complementary
#127E41 #77127E #7E1219
monochromatic
#041B0E #0A4825 #127E41 #1AB45D #2AE179

Accessibility & contrast

On white

5.14
#127E41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127E41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E41
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E41#FFFFFF#000000##FFFFFF
##127E411.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733C
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127e41;
/* rgb */ color: rgb(18, 126, 65);
/* oklch */ color: oklch(52.2% 0.131 151.9);
Tailwind
colors: {
  custom: {
    50: '#66a476',
    500: '#127e41',
    950: '#000000',
  },
}
SCSS
$custom: #127e41;
$custom-light: #66a476;
$custom-dark: #000000;
JSON
{
  "hex": "#127e41",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 146.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.13128,
    "h": 151.9
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#127E41
secondary
#B4387E
accent
#36A0F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #127E41

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

Preview Lab → · Contrast checker → · Palette generator →

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