#18B42F#18B42F

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

Color values

HEX#18B42F
RGBrgb(24, 180, 47)
HSLhsl(129, 76%, 40%)
HSVhsv(129, 87%, 71%)
CMYKcmyk(86.7%, 0%, 73.9%, 29.4%)
CIE-LABlab(64.19, -62.79, 53.95)
CIE-LCHlch(64.19, 82.78, 139.33°)
OKLaboklab(67.08% -0.1695 0.1222)
OKLCHoklch(67.08% 0.209 144.2)
XYZxyz(17.2098, 33.0398, 8.1591)
Luminance0.3304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42F #B4189D
analogous
#4FB418 #18B42F #18B47D
triadic
#18B42F #2F18B4 #B42F18
tetradic
#18B42F #184FB4 #B4189D #B47D18
square
#18B42F #184FB4 #B4189D #B47D18
split-complementary
#18B42F #7D18B4 #B4184F
monochromatic
#0A4813 #117E21 #18B42F #27E243 #5DE972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B42F#FFFFFF#000000##000000
##18B42F1.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)
#B7A216
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #18b42f;
/* rgb */ color: rgb(24, 180, 47);
/* oklch */ color: oklch(67.1% 0.209 144.2);
Tailwind
colors: {
  custom: {
    50: '#77cc70',
    500: '#18b42f',
    950: '#000000',
  },
}
SCSS
$custom: #18b42f;
$custom-light: #77cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42f",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 128.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.20902,
    "h": 144.2
  },
  "luminance": 0.33042
}

Semantic roles & 50–950 ramp

primary
#18B42F
secondary
#CD5BBC
accent
#35D7F3
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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