#128017#128017

#128017 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.166 H 143.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#128017
RGBrgb(18, 128, 23)
HSLhsl(123, 75%, 29%)
HSVhsv(123, 86%, 50%)
CMYKcmyk(85.9%, 0%, 82%, 49.8%)
CIE-LABlab(46.48, -49.08, 44.76)
CIE-LCHlch(46.48, 66.42, 137.64°)
OKLaboklab(52.26% -0.133 0.0998)
OKLCHoklch(52.26% 0.166 143.1)
XYZxyz(8.1227, 15.6278, 3.3988)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128017 #80127B
analogous
#448012 #128017 #12804E
triadic
#128017 #171280 #801712
tetradic
#128017 #124480 #80127B #804E12
square
#128017 #124480 #80127B #804E12
split-complementary
#128017 #4E1280 #801244
monochromatic
#041B05 #0A4A0D #128017 #1AB621 #2BE133

Accessibility & contrast

On white

5.09
#128017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#128017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128017
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128017#FFFFFF#000000##FFFFFF
##1280171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128017;
/* rgb */ color: rgb(18, 128, 23);
/* oklch */ color: oklch(52.3% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a65e',
    500: '#128017',
    950: '#000000',
  },
}
SCSS
$custom: #128017;
$custom-light: #68a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#128017",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 122.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.16629,
    "h": 143.1
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#128017
secondary
#B638B0
accent
#36E9F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #128017

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

Preview Lab → · Contrast checker → · Palette generator →

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