#187915#187915

#187915 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.158 H 142.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#187915
RGBrgb(24, 121, 21)
HSLhsl(118, 70%, 28%)
HSVhsv(118, 83%, 47%)
CMYKcmyk(80.2%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.12, -46.13, 43.19)
CIE-LCHlch(44.12, 63.19, 136.89°)
OKLaboklab(50.32% -0.1254 0.0962)
OKLCHoklch(50.32% 0.158 142.5)
XYZxyz(7.3490, 13.9222, 3.0093)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187915 #761579
analogous
#4A7915 #187915 #157944
triadic
#187915 #151879 #791518
tetradic
#187915 #154A79 #761579 #794415
square
#187915 #154A79 #761579 #794415
split-complementary
#187915 #441579 #79154A
monochromatic
#051A05 #0E450C #187915 #22AD1E #33DB2E

Accessibility & contrast

On white

5.55
#187915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#187915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187915
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187915#FFFFFF#000000##FFFFFF
##1879151.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187915;
/* rgb */ color: rgb(24, 121, 21);
/* oklch */ color: oklch(50.3% 0.158 142.5);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#187915',
    950: '#000000',
  },
}
SCSS
$custom: #187915;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#187915",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 118.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.15803,
    "h": 142.5
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#187915
secondary
#AB3BAF
accent
#3BEDE8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #187915

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

Preview Lab → · Contrast checker → · Palette generator →

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