#127F43#127F43

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

Color values

HEX#127F43
RGBrgb(18, 127, 67)
HSLhsl(147, 75%, 28%)
HSVhsv(147, 86%, 50%)
CMYKcmyk(85.8%, 0%, 47.2%, 50.2%)
CIE-LABlab(46.59, -43.17, 24.59)
CIE-LCHlch(46.59, 49.68, 150.33°)
OKLaboklab(52.5% -0.1159 0.0604)
OKLCHoklch(52.5% 0.131 152.5)
XYZxyz(8.8511, 15.7115, 7.8752)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F43 #7F124E
analogous
#187F12 #127F43 #127F79
triadic
#127F43 #43127F #7F4312
tetradic
#127F43 #12187F #7F124E #7F7912
square
#127F43 #12187F #7F124E #7F7912
split-complementary
#127F43 #79127F #7F1218
monochromatic
#041B0E #0A4927 #127F43 #1AB55F #2BE17C

Accessibility & contrast

On white

5.07
#127F43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F43
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F43#FFFFFF#000000##FFFFFF
##127F431.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F743E
Deuteranopia (green-blind)
#736B47
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127f43;
/* rgb */ color: rgb(18, 127, 67);
/* oklch */ color: oklch(52.5% 0.131 152.5);
Tailwind
colors: {
  custom: {
    50: '#66a578',
    500: '#127f43',
    950: '#000000',
  },
}
SCSS
$custom: #127f43;
$custom-light: #66a578;
$custom-dark: #000000;
JSON
{
  "hex": "#127f43",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 67
  },
  "hsl": {
    "h": 146.972,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.13069,
    "h": 152.5
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#127F43
secondary
#B5387D
accent
#369DF2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127F43

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

Preview Lab → · Contrast checker → · Palette generator →

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