#18842D#18842D

#18842D is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.155 H 145.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#18842D
RGBrgb(24, 132, 45)
HSLhsl(132, 69%, 31%)
HSVhsv(132, 82%, 52%)
CMYKcmyk(81.8%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.11, -47.61, 37.70)
CIE-LCHlch(48.11, 60.73, 141.63°)
OKLaboklab(53.7% -0.1283 0.0878)
OKLCHoklch(53.7% 0.155 145.6)
XYZxyz(9.1009, 16.8851, 5.2616)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18842D #84186F
analogous
#398418 #18842D #188463
triadic
#18842D #2D1884 #842D18
tetradic
#18842D #183984 #84186F #846318
square
#18842D #183984 #84186F #846318
split-complementary
#18842D #631884 #841839
monochromatic
#051C0A #0F501B #18842D #21B83F #3BDB5A

Accessibility & contrast

On white

4.80
#18842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#18842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18842D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18842D#FFFFFF#000000##FFFFFF
##18842D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18842d;
/* rgb */ color: rgb(24, 132, 45);
/* oklch */ color: oklch(53.7% 0.155 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#18842d',
    950: '#000000',
  },
}
SCSS
$custom: #18842d;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#18842d",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 131.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.537,
    "c": 0.15547,
    "h": 145.6
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#18842D
secondary
#B840A1
accent
#3CCAEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18842D

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

Preview Lab → · Contrast checker → · Palette generator →

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