#127E46#127E46

#127E46 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.126 H 153.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#127E46
RGBrgb(18, 126, 70)
HSLhsl(149, 75%, 28%)
HSVhsv(149, 86%, 49%)
CMYKcmyk(85.7%, 0%, 44.4%, 50.6%)
CIE-LABlab(46.30, -42.21, 22.55)
CIE-LCHlch(46.30, 47.86, 151.89°)
OKLaboklab(52.28% -0.1134 0.0558)
OKLCHoklch(52.28% 0.126 153.8)
XYZxyz(8.8150, 15.4914, 8.3187)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E46 #7E124A
analogous
#147E12 #127E46 #127E7C
triadic
#127E46 #46127E #7E4612
tetradic
#127E46 #12147E #7E124A #7E7C12
square
#127E46 #12147E #7E124A #7E7C12
split-complementary
#127E46 #7C127E #7E1214
monochromatic
#041B0F #0A4828 #127E46 #1AB464 #2AE182

Accessibility & contrast

On white

5.12
#127E46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#127E46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E46
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E46#FFFFFF#000000##FFFFFF
##127E461.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127e46;
/* rgb */ color: rgb(18, 126, 70);
/* oklch */ color: oklch(52.3% 0.126 153.8);
Tailwind
colors: {
  custom: {
    50: '#66a47a',
    500: '#127e46',
    950: '#000000',
  },
}
SCSS
$custom: #127e46;
$custom-light: #66a47a;
$custom-dark: #000000;
JSON
{
  "hex": "#127e46",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 70
  },
  "hsl": {
    "h": 148.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.12642,
    "h": 153.8
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#127E46
secondary
#B43878
accent
#3697F2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127E46

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

Preview Lab → · Contrast checker → · Palette generator →

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