#18B421#18B421

#18B421 is a light, highly saturated green. Relative luminance 0.329; OKLCH L 67.0% C 0.216 H 143.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#18B421
RGBrgb(24, 180, 33)
HSLhsl(123, 76%, 40%)
HSVhsv(123, 87%, 71%)
CMYKcmyk(86.7%, 0%, 81.7%, 29.4%)
CIE-LABlab(64.12, -63.77, 58.38)
CIE-LCHlch(64.12, 86.46, 137.53°)
OKLaboklab(66.99% -0.1728 0.1296)
OKLCHoklch(66.99% 0.216 143.1)
XYZxyz(16.9713, 32.9444, 6.9030)
Luminance0.3295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B421 #B418AB
analogous
#5DB418 #18B421 #18B46F
triadic
#18B421 #2118B4 #B42118
tetradic
#18B421 #185DB4 #B418AB #B46F18
square
#18B421 #185DB4 #B418AB #B46F18
split-complementary
#18B421 #6F18B4 #B4185D
monochromatic
#0A480D #117E17 #18B421 #27E232 #5DE965

Accessibility & contrast

On white

2.77
#18B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#18B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B421
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B421#FFFFFF#000000##000000
##18B4211.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#00AF99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #18b421;
/* rgb */ color: rgb(24, 180, 33);
/* oklch */ color: oklch(67.0% 0.216 143.1);
Tailwind
colors: {
  custom: {
    50: '#77cc6a',
    500: '#18b421',
    950: '#000000',
  },
}
SCSS
$custom: #18b421;
$custom-light: #77cc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18b421",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 123.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.21599,
    "h": 143.1
  },
  "luminance": 0.32947
}

Semantic roles & 50–950 ramp

primary
#18B421
secondary
#CD5BC7
accent
#35E8F3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #18B421

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

Preview Lab → · Contrast checker → · Palette generator →

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