#18B42C#18B42C

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

Color values

HEX#18B42C
RGBrgb(24, 180, 44)
HSLhsl(128, 76%, 40%)
HSVhsv(128, 87%, 71%)
CMYKcmyk(86.7%, 0%, 75.6%, 29.4%)
CIE-LABlab(64.17, -63.03, 54.99)
CIE-LCHlch(64.17, 83.65, 138.90°)
OKLaboklab(67.06% -0.1703 0.124)
OKLCHoklch(67.06% 0.211 143.9)
XYZxyz(17.1514, 33.0164, 7.8512)
Luminance0.3302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42C #B418A0
analogous
#52B418 #18B42C #18B47A
triadic
#18B42C #2C18B4 #B42C18
tetradic
#18B42C #1852B4 #B418A0 #B47A18
square
#18B42C #1852B4 #B418A0 #B47A18
split-complementary
#18B42C #7A18B4 #B41852
monochromatic
#0A4812 #117E1F #18B42C #27E23F #5DE96F

Accessibility & contrast

On white

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

On black

7.60
#18B42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #18B42C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18B42C#FFFFFF#000000##000000
##18B42C1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18b42c;
/* rgb */ color: rgb(24, 180, 44);
/* oklch */ color: oklch(67.1% 0.211 143.9);
Tailwind
colors: {
  custom: {
    50: '#77cc6f',
    500: '#18b42c',
    950: '#000000',
  },
}
SCSS
$custom: #18b42c;
$custom-light: #77cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42c",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 127.692,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.21068,
    "h": 143.9
  },
  "luminance": 0.33019
}

Semantic roles & 50–950 ramp

primary
#18B42C
secondary
#CD5BBF
accent
#35DBF3
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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