#18B42B#18B42B

#18B42B 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#18B42B
RGBrgb(24, 180, 43)
HSLhsl(127, 76%, 40%)
HSVhsv(127, 87%, 71%)
CMYKcmyk(86.7%, 0%, 76.1%, 29.4%)
CIE-LABlab(64.17, -63.11, 55.32)
CIE-LCHlch(64.17, 83.92, 138.76°)
OKLaboklab(67.05% -0.1706 0.1246)
OKLCHoklch(67.05% 0.211 143.9)
XYZxyz(17.1328, 33.0089, 7.7534)
Luminance0.3301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18B42B #B418A1
analogous
#53B418 #18B42B #18B479
triadic
#18B42B #2B18B4 #B42B18
tetradic
#18B42B #1853B4 #B418A1 #B47918
square
#18B42B #1853B4 #B418A1 #B47918
split-complementary
#18B42B #7918B4 #B41853
monochromatic
#0A4811 #117E1E #18B42B #27E23E #5DE96E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18B42B#FFFFFF#000000##000000
##18B42B1.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)
#B8A20B
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #18b42b;
/* rgb */ color: rgb(24, 180, 43);
/* oklch */ color: oklch(67.1% 0.211 143.9);
Tailwind
colors: {
  custom: {
    50: '#77cc6e',
    500: '#18b42b',
    950: '#000000',
  },
}
SCSS
$custom: #18b42b;
$custom-light: #77cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#18b42b",
  "rgb": {
    "r": 24,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 127.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.21122,
    "h": 143.9
  },
  "luminance": 0.33011
}

Semantic roles & 50–950 ramp

primary
#18B42B
secondary
#CD5BBF
accent
#35DCF3
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #18B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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