#18A11B#18A11B

#18A11B is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.7% C 0.199 H 142.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#18A11B
RGBrgb(24, 161, 27)
HSLhsl(121, 74%, 36%)
HSVhsv(121, 85%, 63%)
CMYKcmyk(85.1%, 0%, 83.2%, 36.9%)
CIE-LABlab(57.81, -58.44, 54.20)
CIE-LCHlch(57.81, 79.71, 137.16°)
OKLaboklab(61.73% -0.1585 0.1201)
OKLCHoklch(61.73% 0.199 142.9)
XYZxyz(13.3185, 25.7614, 5.3072)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A11B #A1189E
analogous
#5AA118 #18A11B #18A160
triadic
#18A11B #1B18A1 #A11B18
tetradic
#18A11B #185AA1 #A1189E #A16018
square
#18A11B #185AA1 #A1189E #A16018
split-complementary
#18A11B #6018A1 #A1185A
monochromatic
#083609 #106C12 #18A11B #20D624 #4FE552

Accessibility & contrast

On white

3.41
#18A11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#18A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A11B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A11B#FFFFFF#000000##000000
##18A11B1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a11b;
/* rgb */ color: rgb(24, 161, 27);
/* oklch */ color: oklch(61.7% 0.199 142.9);
Tailwind
colors: {
  custom: {
    50: '#73be64',
    500: '#18a11b',
    950: '#000000',
  },
}
SCSS
$custom: #18a11b;
$custom-light: #73be64;
$custom-dark: #000000;
JSON
{
  "hex": "#18a11b",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 121.314,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.19885,
    "h": 142.9
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#18A11B
secondary
#C74EC4
accent
#37EDF1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #18A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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