#18A017#18A017

#18A017 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.4% C 0.199 H 142.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#18A017
RGBrgb(24, 160, 23)
HSLhsl(120, 75%, 36%)
HSVhsv(120, 86%, 63%)
CMYKcmyk(85%, 0%, 85.6%, 37.3%)
CIE-LABlab(57.46, -58.35, 54.93)
CIE-LCHlch(57.46, 80.14, 136.73°)
OKLaboklab(61.43% -0.1584 0.1211)
OKLCHoklch(61.43% 0.199 142.6)
XYZxyz(13.1013, 25.3960, 5.0219)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A017 #9F17A0
analogous
#5CA017 #18A017 #17A05A
triadic
#18A017 #1718A0 #A01718
tetradic
#18A017 #175CA0 #9F17A0 #A05A17
square
#18A017 #175CA0 #9F17A0 #A05A17
split-complementary
#18A017 #5A17A0 #A0175C
monochromatic
#083508 #106A0F #18A017 #20D61F #4DE54C

Accessibility & contrast

On white

3.45
#18A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#18A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A017
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A017#FFFFFF#000000##000000
##18A0171.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #18a017;
/* rgb */ color: rgb(24, 160, 23);
/* oklch */ color: oklch(61.4% 0.199 142.6);
Tailwind
colors: {
  custom: {
    50: '#73bd63',
    500: '#18a017',
    950: '#000000',
  },
}
SCSS
$custom: #18a017;
$custom-light: #73bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#18a017",
  "rgb": {
    "r": 24,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 119.562,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.19936,
    "h": 142.6
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#18A017
secondary
#C64CC7
accent
#36F1F0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #18A017

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

Preview Lab → · Contrast checker → · Palette generator →

#18A017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva