#127E42#127E42

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

Color values

HEX#127E42
RGBrgb(18, 126, 66)
HSLhsl(147, 75%, 28%)
HSVhsv(147, 86%, 49%)
CMYKcmyk(85.7%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.23, -42.98, 24.68)
CIE-LCHlch(46.23, 49.56, 150.13°)
OKLaboklab(52.2% -0.1154 0.0606)
OKLCHoklch(52.2% 0.13 152.3)
XYZxyz(8.6929, 15.4426, 7.6758)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E42 #7E124E
analogous
#187E12 #127E42 #127E78
triadic
#127E42 #42127E #7E4212
tetradic
#127E42 #12187E #7E124E #7E7812
square
#127E42 #12187E #7E124E #7E7812
split-complementary
#127E42 #78127E #7E1218
monochromatic
#041B0E #0A4826 #127E42 #1AB45E #2AE17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127E42#FFFFFF#000000##FFFFFF
##127E421.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)
#7E733D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127e42;
/* rgb */ color: rgb(18, 126, 66);
/* oklch */ color: oklch(52.2% 0.130 152.3);
Tailwind
colors: {
  custom: {
    50: '#66a477',
    500: '#127e42',
    950: '#000000',
  },
}
SCSS
$custom: #127e42;
$custom-light: #66a477;
$custom-dark: #000000;
JSON
{
  "hex": "#127e42",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 146.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.1303,
    "h": 152.3
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#127E42
secondary
#B4387D
accent
#369EF2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127E42

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

Preview Lab → · Contrast checker → · Palette generator →

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