#18882C#18882C

#18882C is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.161 H 145.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#18882C
RGBrgb(24, 136, 44)
HSLhsl(131, 70%, 31%)
HSVhsv(131, 82%, 53%)
CMYKcmyk(82.4%, 0%, 67.6%, 46.7%)
CIE-LABlab(49.48, -49.09, 39.66)
CIE-LCHlch(49.48, 63.11, 141.07°)
OKLaboklab(54.83% -0.1323 0.0919)
OKLCHoklch(54.83% 0.161 145.2)
XYZxyz(9.6348, 17.9832, 5.3457)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18882C #881874
analogous
#3C8818 #18882C #188864
triadic
#18882C #2C1888 #882C18
tetradic
#18882C #183C88 #881874 #886418
square
#18882C #183C88 #881874 #886418
split-complementary
#18882C #641888 #88183C
monochromatic
#06200A #0F541B #18882C #21BC3D #3EDD5A

Accessibility & contrast

On white

4.57
#18882C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#18882C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18882C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18882C#FFFFFF#000000##000000
##18882C1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18882c;
/* rgb */ color: rgb(24, 136, 44);
/* oklch */ color: oklch(54.8% 0.161 145.2);
Tailwind
colors: {
  custom: {
    50: '#6bac69',
    500: '#18882c',
    950: '#000000',
  },
}
SCSS
$custom: #18882c;
$custom-light: #6bac69;
$custom-dark: #000000;
JSON
{
  "hex": "#18882c",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 130.714,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.16112,
    "h": 145.2
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#18882C
secondary
#BC40A6
accent
#3BCDED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #18882C

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

Preview Lab → · Contrast checker → · Palette generator →

#18882C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva