#18B42A#18B42A

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

Color values

HEX#18B42A
RGBrgb(24, 180, 42)
HSLhsl(127, 76%, 40%)
HSVhsv(127, 87%, 71%)
CMYKcmyk(86.7%, 0%, 76.7%, 29.4%)
CIE-LABlab(64.16, -63.18, 55.65)
CIE-LCHlch(64.16, 84.20, 138.62°)
OKLaboklab(67.04% -0.1708 0.1251)
OKLCHoklch(67.04% 0.212 143.8)
XYZxyz(17.1147, 33.0017, 7.6580)
Luminance0.3300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42A #B418A2
analogous
#54B418 #18B42A #18B478
triadic
#18B42A #2A18B4 #B42A18
tetradic
#18B42A #1854B4 #B418A2 #B47818
square
#18B42A #1854B4 #B418A2 #B47818
split-complementary
#18B42A #7818B4 #B41854
monochromatic
#0A4811 #117E1D #18B42A #27E23D #5DE96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B42A#FFFFFF#000000##000000
##18B42A1.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)
#B8A208
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #18b42a;
/* rgb */ color: rgb(24, 180, 42);
/* oklch */ color: oklch(67.0% 0.212 143.8);
Tailwind
colors: {
  custom: {
    50: '#77cc6e',
    500: '#18b42a',
    950: '#000000',
  },
}
SCSS
$custom: #18b42a;
$custom-light: #77cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42a",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 126.923,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67044,
    "c": 0.21175,
    "h": 143.8
  },
  "luminance": 0.33004
}

Semantic roles & 50–950 ramp

primary
#18B42A
secondary
#CD5BC0
accent
#35DDF3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42A

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

Preview Lab → · Contrast checker → · Palette generator →

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