#18804B#18804B

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

Color values

HEX#18804B
RGBrgb(24, 128, 75)
HSLhsl(149, 68%, 30%)
HSVhsv(149, 81%, 50%)
CMYKcmyk(81.3%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.16, -41.29, 20.89)
CIE-LCHlch(47.16, 46.27, 153.17°)
OKLaboklab(53.04% -0.1112 0.052)
OKLCHoklch(53.04% 0.123 154.9)
XYZxyz(9.3650, 16.1394, 9.2769)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18804B #80184D
analogous
#198018 #18804B #18807F
triadic
#18804B #4B1880 #804B18
tetradic
#18804B #181980 #80184D #807F18
square
#18804B #181980 #80184D #807F18
split-complementary
#18804B #7F1880 #801819
monochromatic
#051A0F #0E4C2D #18804B #22B469 #39DA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18804B#FFFFFF#000000##FFFFFF
##18804B1.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)
#807547
Deuteranopia (green-blind)
#746C4F
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #18804b;
/* rgb */ color: rgb(24, 128, 75);
/* oklch */ color: oklch(53.0% 0.123 154.9);
Tailwind
colors: {
  custom: {
    50: '#68a67e',
    500: '#18804b',
    950: '#000000',
  },
}
SCSS
$custom: #18804b;
$custom-light: #68a67e;
$custom-dark: #000000;
JSON
{
  "hex": "#18804b",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 149.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.12279,
    "h": 154.9
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#18804B
secondary
#B4407B
accent
#3D96EB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #18804B

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

Preview Lab → · Contrast checker → · Palette generator →

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