#18882D#18882D

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

Color values

HEX#18882D
RGBrgb(24, 136, 45)
HSLhsl(131, 70%, 31%)
HSVhsv(131, 82%, 53%)
CMYKcmyk(82.4%, 0%, 66.9%, 46.7%)
CIE-LABlab(49.48, -48.98, 39.22)
CIE-LCHlch(49.48, 62.74, 141.31°)
OKLaboklab(54.84% -0.132 0.0911)
OKLCHoklch(54.84% 0.16 145.4)
XYZxyz(9.6538, 17.9908, 5.4459)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18882D #881873
analogous
#3B8818 #18882D #188865
triadic
#18882D #2D1888 #882D18
tetradic
#18882D #183B88 #881873 #886518
square
#18882D #183B88 #881873 #886518
split-complementary
#18882D #651888 #88183B
monochromatic
#06200B #0F541C #18882D #21BC3E #3EDD5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18882D#FFFFFF#000000##000000
##18882D1.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)
#8A7B22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18882d;
/* rgb */ color: rgb(24, 136, 45);
/* oklch */ color: oklch(54.8% 0.160 145.4);
Tailwind
colors: {
  custom: {
    50: '#6bac6a',
    500: '#18882d',
    950: '#000000',
  },
}
SCSS
$custom: #18882d;
$custom-light: #6bac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18882d",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 131.25,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.16036,
    "h": 145.4
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#18882D
secondary
#BC40A4
accent
#3BCBED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #18882D

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

Preview Lab → · Contrast checker → · Palette generator →

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