#187718#187718

#187718 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.154 H 142.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#187718
RGBrgb(24, 119, 24)
HSLhsl(120, 66%, 28%)
HSVhsv(120, 80%, 47%)
CMYKcmyk(79.8%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.44, -45.25, 41.51)
CIE-LCHlch(43.44, 61.40, 137.47°)
OKLaboklab(49.76% -0.1228 0.0932)
OKLCHoklch(49.76% 0.154 142.8)
XYZxyz(7.1379, 13.4530, 3.0845)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187718 #771877
analogous
#477718 #187718 #187747
triadic
#187718 #181877 #771818
tetradic
#187718 #184777 #771877 #774718
square
#187718 #184777 #771877 #774718
split-complementary
#187718 #471877 #771847
monochromatic
#051905 #0E440E #187718 #22AA22 #33D633

Accessibility & contrast

On white

5.69
#187718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#187718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187718
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187718#FFFFFF#000000##FFFFFF
##1877181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187718;
/* rgb */ color: rgb(24, 119, 24);
/* oklch */ color: oklch(49.8% 0.154 142.8);
Tailwind
colors: {
  custom: {
    50: '#689f5d',
    500: '#187718',
    950: '#000000',
  },
}
SCSS
$custom: #187718;
$custom-light: #689f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#187718",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.15415,
    "h": 142.8
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#187718
secondary
#AC3FAC
accent
#3EE9E9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #187718

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

Preview Lab → · Contrast checker → · Palette generator →

#187718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva