#128045#128045

#128045 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.130 H 153.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#128045
RGBrgb(18, 128, 69)
HSLhsl(148, 75%, 29%)
HSVhsv(148, 86%, 50%)
CMYKcmyk(85.9%, 0%, 46.1%, 49.8%)
CIE-LABlab(46.97, -43.17, 23.97)
CIE-LCHlch(46.97, 49.38, 150.96°)
OKLaboklab(52.83% -0.1159 0.0591)
OKLCHoklch(52.83% 0.13 153)
XYZxyz(9.0419, 15.9955, 8.2400)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128045 #80124D
analogous
#168012 #128045 #12807C
triadic
#128045 #451280 #804512
tetradic
#128045 #121680 #80124D #807C12
square
#128045 #121680 #80124D #807C12
split-complementary
#128045 #7C1280 #801216
monochromatic
#041B0E #0A4A28 #128045 #1AB662 #2BE180

Accessibility & contrast

On white

5.00
#128045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #128045
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128045#FFFFFF#000000##FFFFFF
##1280451.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128045;
/* rgb */ color: rgb(18, 128, 69);
/* oklch */ color: oklch(52.8% 0.130 153.0);
Tailwind
colors: {
  custom: {
    50: '#66a679',
    500: '#128045',
    950: '#000000',
  },
}
SCSS
$custom: #128045;
$custom-light: #66a679;
$custom-dark: #000000;
JSON
{
  "hex": "#128045",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 147.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.13009,
    "h": 153
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#128045
secondary
#B6387B
accent
#369BF2
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #128045

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

Preview Lab → · Contrast checker → · Palette generator →

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