#18864C#18864C

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

Color values

HEX#18864C
RGBrgb(24, 134, 76)
HSLhsl(148, 70%, 31%)
HSVhsv(148, 82%, 53%)
CMYKcmyk(82.1%, 0%, 43.3%, 47.5%)
CIE-LABlab(49.21, -43.43, 23.02)
CIE-LCHlch(49.21, 49.15, 152.07°)
OKLaboklab(54.74% -0.1168 0.0571)
OKLCHoklch(54.74% 0.13 154)
XYZxyz(10.2053, 17.7649, 9.7272)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18864C #861852
analogous
#1B8618 #18864C #188683
triadic
#18864C #4C1886 #864C18
tetradic
#18864C #181B86 #861852 #868318
square
#18864C #181B86 #861852 #868318
split-complementary
#18864C #831886 #86181B
monochromatic
#051E11 #0F522F #18864C #21BA69 #3CDC88

Accessibility & contrast

On white

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

On black

4.55
#18864C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18864C#FFFFFF#000000##FFFFFF
##18864C1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18864c;
/* rgb */ color: rgb(24, 134, 76);
/* oklch */ color: oklch(54.7% 0.130 154.0);
Tailwind
colors: {
  custom: {
    50: '#69aa7e',
    500: '#18864c',
    950: '#000000',
  },
}
SCSS
$custom: #18864c;
$custom-light: #69aa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#18864c",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 76
  },
  "hsl": {
    "h": 148.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.13001,
    "h": 154
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#18864C
secondary
#BA4080
accent
#3B99EC
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#07100A
muted
#7A7F7C

Preview Lab

Preview with #18864C

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

Preview Lab → · Contrast checker → · Palette generator →

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