#187815#187815

#187815 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.157 H 142.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#187815
RGBrgb(24, 120, 21)
HSLhsl(118, 70%, 28%)
HSVhsv(118, 83%, 47%)
CMYKcmyk(80%, 0%, 82.5%, 52.9%)
CIE-LABlab(43.77, -45.80, 42.86)
CIE-LCHlch(43.77, 62.72, 136.90°)
OKLaboklab(50.03% -0.1244 0.0955)
OKLCHoklch(50.03% 0.157 142.5)
XYZxyz(7.2281, 13.6804, 2.9690)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187815 #751578
analogous
#497815 #187815 #157844
triadic
#187815 #151878 #781518
tetradic
#187815 #154978 #751578 #784415
square
#187815 #154978 #751578 #784415
split-complementary
#187815 #441578 #781549
monochromatic
#051A05 #0E440C #187815 #22AC1E #32DA2D

Accessibility & contrast

On white

5.62
#187815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#187815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187815
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187815#FFFFFF#000000##FFFFFF
##1878151.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187815;
/* rgb */ color: rgb(24, 120, 21);
/* oklch */ color: oklch(50.0% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#68a05b',
    500: '#187815',
    950: '#000000',
  },
}
SCSS
$custom: #187815;
$custom-light: #68a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#187815",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 118.182,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.15689,
    "h": 142.5
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#187815
secondary
#AA3BAE
accent
#3BEDE8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #187815

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

Preview Lab → · Contrast checker → · Palette generator →

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