#18852B#18852B

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

Color values

HEX#18852B
RGBrgb(24, 133, 43)
HSLhsl(130, 69%, 31%)
HSVhsv(130, 82%, 52%)
CMYKcmyk(82%, 0%, 67.7%, 47.8%)
CIE-LABlab(48.44, -48.19, 38.97)
CIE-LCHlch(48.44, 61.97, 141.04°)
OKLaboklab(53.96% -0.1299 0.0903)
OKLCHoklch(53.96% 0.158 145.2)
XYZxyz(9.1996, 17.1426, 5.1090)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18852B #851872
analogous
#3B8518 #18852B #188561
triadic
#18852B #2B1885 #852B18
tetradic
#18852B #183B85 #851872 #856118
square
#18852B #183B85 #851872 #856118
split-complementary
#18852B #611885 #85183B
monochromatic
#051D09 #0F511A #18852B #21B93C #3CDC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18852B#FFFFFF#000000##FFFFFF
##18852B1.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)
#877820
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18852b;
/* rgb */ color: rgb(24, 133, 43);
/* oklch */ color: oklch(54.0% 0.158 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aaa69',
    500: '#18852b',
    950: '#000000',
  },
}
SCSS
$custom: #18852b;
$custom-light: #6aaa69;
$custom-dark: #000000;
JSON
{
  "hex": "#18852b",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 130.459,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.15823,
    "h": 145.2
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18852B

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

Preview Lab → · Contrast checker → · Palette generator →

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