#18882A#18882A

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

Color values

HEX#18882A
RGBrgb(24, 136, 42)
HSLhsl(130, 70%, 31%)
HSVhsv(130, 82%, 53%)
CMYKcmyk(82.4%, 0%, 69.1%, 46.7%)
CIE-LABlab(49.46, -49.31, 40.52)
CIE-LCHlch(49.46, 63.82, 140.59°)
OKLaboklab(54.81% -0.133 0.0935)
OKLCHoklch(54.81% 0.163 144.9)
XYZxyz(9.5981, 17.9685, 5.1525)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18882A #881876
analogous
#3E8818 #18882A #188862
triadic
#18882A #2A1888 #882A18
tetradic
#18882A #183E88 #881876 #886218
square
#18882A #183E88 #881876 #886218
split-complementary
#18882A #621888 #88183E
monochromatic
#06200A #0F541A #18882A #21BC3A #3EDD57

Accessibility & contrast

On white

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

On black

4.59
#18882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18882A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18882A#FFFFFF#000000##000000
##18882A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18882a;
/* rgb */ color: rgb(24, 136, 42);
/* oklch */ color: oklch(54.8% 0.163 144.9);
Tailwind
colors: {
  custom: {
    50: '#6bac68',
    500: '#18882a',
    950: '#000000',
  },
}
SCSS
$custom: #18882a;
$custom-light: #6bac68;
$custom-dark: #000000;
JSON
{
  "hex": "#18882a",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 129.643,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.16258,
    "h": 144.9
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#18882A
secondary
#BC40A8
accent
#3BD0ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #18882A

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

Preview Lab → · Contrast checker → · Palette generator →

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