#18B321#18B321

#18B321 is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.7% C 0.215 H 143.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#18B321
RGBrgb(24, 179, 33)
HSLhsl(123, 76%, 40%)
HSVhsv(123, 87%, 70%)
CMYKcmyk(86.6%, 0%, 81.6%, 29.8%)
CIE-LABlab(63.79, -63.48, 58.08)
CIE-LCHlch(63.79, 86.04, 137.54°)
OKLaboklab(66.72% -0.172 0.129)
OKLCHoklch(66.72% 0.215 143.1)
XYZxyz(16.7702, 32.5421, 6.8359)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B321 #B318AA
analogous
#5CB318 #18B321 #18B36F
triadic
#18B321 #2118B3 #B32118
tetradic
#18B321 #185CB3 #B318AA #B36F18
square
#18B321 #185CB3 #B318AA #B36F18
split-complementary
#18B321 #6F18B3 #B3185C
monochromatic
#0A470D #117D17 #18B321 #26E231 #5CE964

Accessibility & contrast

On white

2.80
#18B321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#18B321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B321
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B321#FFFFFF#000000##000000
##18B3211.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #18b321;
/* rgb */ color: rgb(24, 179, 33);
/* oklch */ color: oklch(66.7% 0.215 143.1);
Tailwind
colors: {
  custom: {
    50: '#77cb6a',
    500: '#18b321',
    950: '#000000',
  },
}
SCSS
$custom: #18b321;
$custom-light: #77cb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18b321",
  "rgb": {
    "r": 24,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 123.484,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.21496,
    "h": 143.1
  },
  "luminance": 0.32544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18B321

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

Preview Lab → · Contrast checker → · Palette generator →

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