#18804A#18804A

#18804A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.124 H 154.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#18804A
RGBrgb(24, 128, 74)
HSLhsl(149, 68%, 30%)
HSVhsv(149, 81%, 50%)
CMYKcmyk(81.3%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.14, -41.49, 21.42)
CIE-LCHlch(47.14, 46.70, 152.69°)
OKLaboklab(53.02% -0.1117 0.0533)
OKLCHoklch(53.02% 0.124 154.5)
XYZxyz(9.3310, 16.1258, 9.0981)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18804A #80184E
analogous
#1A8018 #18804A #18807E
triadic
#18804A #4A1880 #804A18
tetradic
#18804A #181A80 #80184E #807E18
square
#18804A #181A80 #80184E #807E18
split-complementary
#18804A #7E1880 #80181A
monochromatic
#051A0F #0E4C2C #18804A #22B468 #39DA86

Accessibility & contrast

On white

4.97
#18804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#18804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18804A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18804A#FFFFFF#000000##FFFFFF
##18804A1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#746C4E
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18804a;
/* rgb */ color: rgb(24, 128, 74);
/* oklch */ color: oklch(53.0% 0.124 154.5);
Tailwind
colors: {
  custom: {
    50: '#68a67d',
    500: '#18804a',
    950: '#000000',
  },
}
SCSS
$custom: #18804a;
$custom-light: #68a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#18804a",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 148.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.12377,
    "h": 154.5
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#18804A
secondary
#B4407C
accent
#3D97EB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #18804A

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

Preview Lab → · Contrast checker → · Palette generator →

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