#18852A#18852A

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

Color values

HEX#18852A
RGBrgb(24, 133, 42)
HSLhsl(130, 69%, 31%)
HSVhsv(130, 82%, 52%)
CMYKcmyk(82%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.43, -48.30, 39.40)
CIE-LCHlch(48.43, 62.33, 140.79°)
OKLaboklab(53.95% -0.1303 0.0911)
OKLCHoklch(53.95% 0.159 145)
XYZxyz(9.1815, 17.1353, 5.0136)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18852A #851873
analogous
#3C8518 #18852A #188560
triadic
#18852A #2A1885 #852A18
tetradic
#18852A #183C85 #851873 #856018
square
#18852A #183C85 #851873 #856018
split-complementary
#18852A #601885 #85183C
monochromatic
#051D09 #0F511A #18852A #21B93A #3CDC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18852A#FFFFFF#000000##FFFFFF
##18852A1.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)
#87781E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18852a;
/* rgb */ color: rgb(24, 133, 42);
/* oklch */ color: oklch(54.0% 0.159 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aaa68',
    500: '#18852a',
    950: '#000000',
  },
}
SCSS
$custom: #18852a;
$custom-light: #6aaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#18852a",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 129.908,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.15897,
    "h": 145
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#18852A
secondary
#B940A5
accent
#3CCFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #18852A

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

Preview Lab → · Contrast checker → · Palette generator →

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