#18852D#18852D

#18852D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.157 H 145.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#18852D
RGBrgb(24, 133, 45)
HSLhsl(132, 69%, 31%)
HSVhsv(132, 82%, 52%)
CMYKcmyk(82%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.46, -47.95, 38.08)
CIE-LCHlch(48.46, 61.23, 141.55°)
OKLaboklab(53.99% -0.1292 0.0886)
OKLCHoklch(53.99% 0.157 145.6)
XYZxyz(9.2372, 17.1576, 5.3070)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18852D #851870
analogous
#398518 #18852D #188563
triadic
#18852D #2D1885 #852D18
tetradic
#18852D #183985 #851870 #856318
square
#18852D #183985 #851870 #856318
split-complementary
#18852D #631885 #851839
monochromatic
#051D0A #0F511B #18852D #21B93F #3CDC5A

Accessibility & contrast

On white

4.74
#18852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#18852D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18852D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18852D#FFFFFF#000000##FFFFFF
##18852D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18852d;
/* rgb */ color: rgb(24, 133, 45);
/* oklch */ color: oklch(54.0% 0.157 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aaa6a',
    500: '#18852d',
    950: '#000000',
  },
}
SCSS
$custom: #18852d;
$custom-light: #6aaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18852d",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 131.56,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.1567,
    "h": 145.6
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18852D

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

Preview Lab → · Contrast checker → · Palette generator →

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