#18A123#18A123

#18A123 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.195 H 143.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#18A123
RGBrgb(24, 161, 35)
HSLhsl(125, 74%, 36%)
HSVhsv(125, 85%, 63%)
CMYKcmyk(85.1%, 0%, 78.3%, 36.9%)
CIE-LABlab(57.85, -57.93, 51.80)
CIE-LCHlch(57.85, 77.72, 138.20°)
OKLaboklab(61.77% -0.1568 0.1162)
OKLCHoklch(61.77% 0.195 143.5)
XYZxyz(13.4240, 25.8036, 5.8629)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A123 #A11896
analogous
#52A118 #18A123 #18A168
triadic
#18A123 #2318A1 #A12318
tetradic
#18A123 #1852A1 #A11896 #A16818
square
#18A123 #1852A1 #A11896 #A16818
split-complementary
#18A123 #6818A1 #A11852
monochromatic
#08360C #106C17 #18A123 #20D62F #4FE55B

Accessibility & contrast

On white

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

On black

6.16
#18A123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A123
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A123#FFFFFF#000000##000000
##18A1231.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49102
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a123;
/* rgb */ color: rgb(24, 161, 35);
/* oklch */ color: oklch(61.8% 0.195 143.5);
Tailwind
colors: {
  custom: {
    50: '#72be68',
    500: '#18a123',
    950: '#000000',
  },
}
SCSS
$custom: #18a123;
$custom-light: #72be68;
$custom-dark: #000000;
JSON
{
  "hex": "#18a123",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 124.818,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.19515,
    "h": 143.5
  },
  "luminance": 0.25805
}

Semantic roles & 50–950 ramp

primary
#18A123
secondary
#C74EBD
accent
#37E2F1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #18A123

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

Preview Lab → · Contrast checker → · Palette generator →

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