#18B42E#18B42E

#18B42E is a light, highly saturated green. Relative luminance 0.330; OKLCH L 67.1% C 0.210 H 144.1°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#18B42E
RGBrgb(24, 180, 46)
HSLhsl(128, 76%, 40%)
HSVhsv(128, 87%, 71%)
CMYKcmyk(86.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(64.19, -62.87, 54.30)
CIE-LCHlch(64.19, 83.07, 139.19°)
OKLaboklab(67.07% -0.1698 0.1228)
OKLCHoklch(67.07% 0.21 144.1)
XYZxyz(17.1899, 33.0318, 8.0540)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42E #B4189E
analogous
#50B418 #18B42E #18B47C
triadic
#18B42E #2E18B4 #B42E18
tetradic
#18B42E #1850B4 #B4189E #B47C18
square
#18B42E #1850B4 #B4189E #B47C18
split-complementary
#18B42E #7C18B4 #B41850
monochromatic
#0A4812 #117E20 #18B42E #27E241 #5DE971

Accessibility & contrast

On white

2.76
#18B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#18B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B42E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B42E#FFFFFF#000000##000000
##18B42E1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A213
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #18b42e;
/* rgb */ color: rgb(24, 180, 46);
/* oklch */ color: oklch(67.1% 0.210 144.1);
Tailwind
colors: {
  custom: {
    50: '#77cc70',
    500: '#18b42e',
    950: '#000000',
  },
}
SCSS
$custom: #18b42e;
$custom-light: #77cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42e",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 128.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.20958,
    "h": 144.1
  },
  "luminance": 0.33034
}

Semantic roles & 50–950 ramp

primary
#18B42E
secondary
#CD5BBD
accent
#35D8F3
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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