#128047#128047

#128047 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.128 H 153.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#128047
RGBrgb(18, 128, 71)
HSLhsl(149, 75%, 29%)
HSVhsv(149, 86%, 50%)
CMYKcmyk(85.9%, 0%, 44.5%, 49.8%)
CIE-LABlab(47.00, -42.78, 22.90)
CIE-LCHlch(47.00, 48.52, 151.83°)
OKLaboklab(52.86% -0.1149 0.0566)
OKLCHoklch(52.86% 0.128 153.8)
XYZxyz(9.1051, 16.0207, 8.5724)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128047 #80124B
analogous
#148012 #128047 #12807E
triadic
#128047 #471280 #804712
tetradic
#128047 #121480 #80124B #807E12
square
#128047 #121480 #80124B #807E12
split-complementary
#128047 #7E1280 #801214
monochromatic
#041B0F #0A4A29 #128047 #1AB665 #2BE183

Accessibility & contrast

On white

4.99
#128047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#128047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128047
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128047#FFFFFF#000000##FFFFFF
##1280471.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807543
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128047;
/* rgb */ color: rgb(18, 128, 71);
/* oklch */ color: oklch(52.9% 0.128 153.8);
Tailwind
colors: {
  custom: {
    50: '#66a67b',
    500: '#128047',
    950: '#000000',
  },
}
SCSS
$custom: #128047;
$custom-light: #66a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#128047",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 71
  },
  "hsl": {
    "h": 148.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.12815,
    "h": 153.8
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#128047
secondary
#B63879
accent
#3697F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #128047

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

Preview Lab → · Contrast checker → · Palette generator →

#128047 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva