#18852F#18852F

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

Color values

HEX#18852F
RGBrgb(24, 133, 47)
HSLhsl(133, 69%, 31%)
HSVhsv(133, 82%, 52%)
CMYKcmyk(82%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.48, -47.71, 37.17)
CIE-LCHlch(48.48, 60.48, 142.08°)
OKLaboklab(54.01% -0.1285 0.0869)
OKLCHoklch(54.01% 0.155 145.9)
XYZxyz(9.2766, 17.1734, 5.5147)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18852F #85186E
analogous
#378518 #18852F #188565
triadic
#18852F #2F1885 #852F18
tetradic
#18852F #183785 #85186E #856518
square
#18852F #183785 #85186E #856518
split-complementary
#18852F #651885 #851837
monochromatic
#051D0A #0F511D #18852F #21B941 #3CDC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18852F#FFFFFF#000000##FFFFFF
##18852F1.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)
#877825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18852f;
/* rgb */ color: rgb(24, 133, 47);
/* oklch */ color: oklch(54.0% 0.155 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa6b',
    500: '#18852f',
    950: '#000000',
  },
}
SCSS
$custom: #18852f;
$custom-light: #6aaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#18852f",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 132.661,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.15513,
    "h": 145.9
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#18852F
secondary
#B9409F
accent
#3CC7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18852F

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

Preview Lab → · Contrast checker → · Palette generator →

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