#18A045#18A045

#18A045 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.170 H 148.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#18A045
RGBrgb(24, 160, 69)
HSLhsl(140, 74%, 36%)
HSVhsv(140, 85%, 63%)
CMYKcmyk(85%, 0%, 56.9%, 37.3%)
CIE-LABlab(57.81, -53.97, 37.44)
CIE-LCHlch(57.81, 65.68, 145.25°)
OKLaboklab(61.84% -0.1448 0.0894)
OKLCHoklch(61.84% 0.17 148.3)
XYZxyz(14.0205, 25.7637, 9.8630)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A045 #A01873
analogous
#2FA018 #18A045 #18A089
triadic
#18A045 #4518A0 #A04518
tetradic
#18A045 #182FA0 #A01873 #A08918
square
#18A045 #182FA0 #A01873 #A08918
split-complementary
#18A045 #8918A0 #A0182F
monochromatic
#083617 #106B2E #18A045 #20D55C #4EE480

Accessibility & contrast

On white

3.41
#18A045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#18A045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A045
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A045#FFFFFF#000000##000000
##18A0451.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913C
Deuteranopia (green-blind)
#93874C
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a045;
/* rgb */ color: rgb(24, 160, 69);
/* oklch */ color: oklch(61.8% 0.170 148.3);
Tailwind
colors: {
  custom: {
    50: '#70bd7b',
    500: '#18a045',
    950: '#000000',
  },
}
SCSS
$custom: #18a045;
$custom-light: #70bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#18a045",
  "rgb": {
    "r": 24,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 139.853,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.17017,
    "h": 148.3
  },
  "luminance": 0.25765
}

Semantic roles & 50–950 ramp

primary
#18A045
secondary
#C64D9E
accent
#37B3F1
background
#F7FBF7
surface
#EDF7EE
border
#C8D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #18A045

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

Preview Lab → · Contrast checker → · Palette generator →

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