#18A042#18A042

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

Color values

HEX#18A042
RGBrgb(24, 160, 66)
HSLhsl(139, 74%, 36%)
HSVhsv(139, 85%, 63%)
CMYKcmyk(85%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.78, -54.39, 38.86)
CIE-LCHlch(57.78, 66.84, 144.46°)
OKLaboklab(61.8% -0.146 0.0922)
OKLCHoklch(61.8% 0.173 147.7)
XYZxyz(13.9297, 25.7274, 9.3849)
Luminance0.2573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A042 #A01876
analogous
#32A018 #18A042 #18A086
triadic
#18A042 #4218A0 #A04218
tetradic
#18A042 #1832A0 #A01876 #A08618
square
#18A042 #1832A0 #A01876 #A08618
split-complementary
#18A042 #8618A0 #A01832
monochromatic
#083616 #106B2C #18A042 #20D558 #4EE47C

Accessibility & contrast

On white

3.42
#18A042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##18A042#FFFFFF#000000##000000
##18A0421.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#93874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a042;
/* rgb */ color: rgb(24, 160, 66);
/* oklch */ color: oklch(61.8% 0.173 147.7);
Tailwind
colors: {
  custom: {
    50: '#71bd79',
    500: '#18a042',
    950: '#000000',
  },
}
SCSS
$custom: #18a042;
$custom-light: #71bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#18a042",
  "rgb": {
    "r": 24,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 138.529,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.17271,
    "h": 147.7
  },
  "luminance": 0.25729
}

Semantic roles & 50–950 ramp

primary
#18A042
secondary
#C64DA1
accent
#37B7F1
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #18A042

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

Preview Lab → · Contrast checker → · Palette generator →

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