#18B42D#18B42D

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

Color values

HEX#18B42D
RGBrgb(24, 180, 45)
HSLhsl(128, 76%, 40%)
HSVhsv(128, 87%, 71%)
CMYKcmyk(86.7%, 0%, 75%, 29.4%)
CIE-LABlab(64.18, -62.95, 54.64)
CIE-LCHlch(64.18, 83.36, 139.04°)
OKLaboklab(67.07% -0.1701 0.1234)
OKLCHoklch(67.07% 0.21 144)
XYZxyz(17.1704, 33.0240, 7.9514)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42D #B4189F
analogous
#51B418 #18B42D #18B47B
triadic
#18B42D #2D18B4 #B42D18
tetradic
#18B42D #1851B4 #B4189F #B47B18
square
#18B42D #1851B4 #B4189F #B47B18
split-complementary
#18B42D #7B18B4 #B41851
monochromatic
#0A4812 #117E1F #18B42D #27E240 #5DE970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B42D#FFFFFF#000000##000000
##18B42D1.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)
#B8A211
Deuteranopia (green-blind)
#A8973C
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #18b42d;
/* rgb */ color: rgb(24, 180, 45);
/* oklch */ color: oklch(67.1% 0.210 144.0);
Tailwind
colors: {
  custom: {
    50: '#77cc6f',
    500: '#18b42d',
    950: '#000000',
  },
}
SCSS
$custom: #18b42d;
$custom-light: #77cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42d",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 128.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67065,
    "c": 0.21014,
    "h": 144
  },
  "luminance": 0.33026
}

Semantic roles & 50–950 ramp

primary
#18B42D
secondary
#CD5BBE
accent
#35D9F3
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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