#127F45#127F45

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

Color values

HEX#127F45
RGBrgb(18, 127, 69)
HSLhsl(148, 75%, 28%)
HSVhsv(148, 86%, 50%)
CMYKcmyk(85.8%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.63, -42.79, 23.53)
CIE-LCHlch(46.63, 48.83, 151.19°)
OKLaboklab(52.54% -0.1149 0.058)
OKLCHoklch(52.54% 0.129 153.2)
XYZxyz(8.9122, 15.7359, 8.1967)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F45 #7F124C
analogous
#167F12 #127F45 #127F7B
triadic
#127F45 #45127F #7F4512
tetradic
#127F45 #12167F #7F124C #7F7B12
square
#127F45 #12167F #7F124C #7F7B12
split-complementary
#127F45 #7B127F #7F1216
monochromatic
#041B0F #0A4928 #127F45 #1AB562 #2BE180

Accessibility & contrast

On white

5.06
#127F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#127F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F45
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F45#FFFFFF#000000##FFFFFF
##127F451.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127f45;
/* rgb */ color: rgb(18, 127, 69);
/* oklch */ color: oklch(52.5% 0.129 153.2);
Tailwind
colors: {
  custom: {
    50: '#66a579',
    500: '#127f45',
    950: '#000000',
  },
}
SCSS
$custom: #127f45;
$custom-light: #66a579;
$custom-dark: #000000;
JSON
{
  "hex": "#127f45",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 148.073,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.12874,
    "h": 153.2
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#127F45
secondary
#B5387A
accent
#369AF2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127F45

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

Preview Lab → · Contrast checker → · Palette generator →

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