#18A126#18A126

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

Color values

HEX#18A126
RGBrgb(24, 161, 38)
HSLhsl(126, 74%, 36%)
HSVhsv(126, 85%, 63%)
CMYKcmyk(85.1%, 0%, 76.4%, 36.9%)
CIE-LABlab(57.87, -57.71, 50.80)
CIE-LCHlch(57.87, 76.88, 138.64°)
OKLaboklab(61.79% -0.1561 0.1145)
OKLCHoklch(61.79% 0.194 143.7)
XYZxyz(13.4705, 25.8222, 6.1076)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A126 #A11893
analogous
#4FA118 #18A126 #18A16B
triadic
#18A126 #2618A1 #A12618
tetradic
#18A126 #184FA1 #A11893 #A16B18
square
#18A126 #184FA1 #A11893 #A16B18
split-complementary
#18A126 #6B18A1 #A1184F
monochromatic
#08360D #106C19 #18A126 #20D633 #4FE55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18A126#FFFFFF#000000##000000
##18A1261.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)
#A4910B
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a126;
/* rgb */ color: rgb(24, 161, 38);
/* oklch */ color: oklch(61.8% 0.194 143.7);
Tailwind
colors: {
  custom: {
    50: '#72be69',
    500: '#18a126',
    950: '#000000',
  },
}
SCSS
$custom: #18a126;
$custom-light: #72be69;
$custom-dark: #000000;
JSON
{
  "hex": "#18a126",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 126.131,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.19355,
    "h": 143.7
  },
  "luminance": 0.25824
}

Semantic roles & 50–950 ramp

primary
#18A126
secondary
#C74EBA
accent
#37DEF1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #18A126

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

Preview Lab → · Contrast checker → · Palette generator →

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