#18864D#18864D

#18864D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.129 H 154.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#18864D
RGBrgb(24, 134, 77)
HSLhsl(149, 70%, 31%)
HSVhsv(149, 82%, 53%)
CMYKcmyk(82.1%, 0%, 42.5%, 47.5%)
CIE-LABlab(49.23, -43.23, 22.49)
CIE-LCHlch(49.23, 48.73, 152.51°)
OKLaboklab(54.76% -0.1163 0.0558)
OKLCHoklch(54.76% 0.129 154.4)
XYZxyz(10.2404, 17.7789, 9.9117)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18864D #861851
analogous
#1A8618 #18864D #188684
triadic
#18864D #4D1886 #864D18
tetradic
#18864D #181A86 #861851 #868418
square
#18864D #181A86 #861851 #868418
split-complementary
#18864D #841886 #86181A
monochromatic
#051E11 #0F522F #18864D #21BA6B #3CDC89

Accessibility & contrast

On white

4.61
#18864D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#18864D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #18864D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18864D#FFFFFF#000000##FFFFFF
##18864D1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A49
Deuteranopia (green-blind)
#797151
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #18864d;
/* rgb */ color: rgb(24, 134, 77);
/* oklch */ color: oklch(54.8% 0.129 154.4);
Tailwind
colors: {
  custom: {
    50: '#69aa7f',
    500: '#18864d',
    950: '#000000',
  },
}
SCSS
$custom: #18864d;
$custom-light: #69aa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#18864d",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 77
  },
  "hsl": {
    "h": 148.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.12905,
    "h": 154.4
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#18864D
secondary
#BA407F
accent
#3B97EC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #18864D

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

Preview Lab → · Contrast checker → · Palette generator →

#18864D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva