#128018#128018

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

Color values

HEX#128018
RGBrgb(18, 128, 24)
HSLhsl(123, 75%, 29%)
HSVhsv(123, 86%, 50%)
CMYKcmyk(85.9%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.49, -49.01, 44.43)
CIE-LCHlch(46.49, 66.16, 137.81°)
OKLaboklab(52.27% -0.1328 0.0993)
OKLCHoklch(52.27% 0.166 143.2)
XYZxyz(8.1330, 15.6319, 3.4526)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128018 #80127A
analogous
#438012 #128018 #12804F
triadic
#128018 #181280 #801812
tetradic
#128018 #124380 #80127A #804F12
square
#128018 #124380 #80127A #804F12
split-complementary
#128018 #4F1280 #801243
monochromatic
#041B05 #0A4A0E #128018 #1AB622 #2BE135

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128018#FFFFFF#000000##FFFFFF
##1280181.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: #128018;
/* rgb */ color: rgb(18, 128, 24);
/* oklch */ color: oklch(52.3% 0.166 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a65e',
    500: '#128018',
    950: '#000000',
  },
}
SCSS
$custom: #128018;
$custom-light: #68a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#128018",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 123.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.1658,
    "h": 143.2
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#128018
secondary
#B638AF
accent
#36E8F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #128018

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

Preview Lab → · Contrast checker → · Palette generator →

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