#18842B#18842B

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

Color values

HEX#18842B
RGBrgb(24, 132, 43)
HSLhsl(131, 69%, 31%)
HSVhsv(131, 82%, 52%)
CMYKcmyk(81.8%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.10, -47.85, 38.59)
CIE-LCHlch(48.10, 61.47, 141.11°)
OKLaboklab(53.68% -0.129 0.0895)
OKLCHoklch(53.68% 0.157 145.2)
XYZxyz(9.0633, 16.8700, 5.0636)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18842B #841871
analogous
#3B8418 #18842B #188461
triadic
#18842B #2B1884 #842B18
tetradic
#18842B #183B84 #841871 #846118
square
#18842B #183B84 #841871 #846118
split-complementary
#18842B #611884 #84183B
monochromatic
#051C09 #0F501A #18842B #21B83C #3BDB57

Accessibility & contrast

On white

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

On black

4.37
#18842B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18842B#FFFFFF#000000##FFFFFF
##18842B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867720
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18842b;
/* rgb */ color: rgb(24, 132, 43);
/* oklch */ color: oklch(53.7% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa968',
    500: '#18842b',
    950: '#000000',
  },
}
SCSS
$custom: #18842b;
$custom-light: #6aa968;
$custom-dark: #000000;
JSON
{
  "hex": "#18842b",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 130.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.15701,
    "h": 145.2
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#18842B
secondary
#B840A3
accent
#3CCDEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18842B

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

Preview Lab → · Contrast checker → · Palette generator →

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