#187515#187515

#187515 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.153 H 142.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#187515
RGBrgb(24, 117, 21)
HSLhsl(118, 70%, 27%)
HSVhsv(118, 82%, 46%)
CMYKcmyk(79.5%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.72, -44.79, 41.85)
CIE-LCHlch(42.72, 61.30, 136.94°)
OKLaboklab(49.16% -0.1217 0.0934)
OKLCHoklch(49.16% 0.153 142.5)
XYZxyz(6.8729, 12.9701, 2.8506)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187515 #721575
analogous
#487515 #187515 #157542
triadic
#187515 #151875 #751518
tetradic
#187515 #154875 #721575 #754215
square
#187515 #154875 #721575 #754215
split-complementary
#187515 #421575 #751548
monochromatic
#051A05 #0D410C #187515 #23A91E #31D92B

Accessibility & contrast

On white

5.84
#187515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#187515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187515
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187515#FFFFFF#000000##FFFFFF
##1875151.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187515;
/* rgb */ color: rgb(24, 117, 21);
/* oklch */ color: oklch(49.2% 0.153 142.5);
Tailwind
colors: {
  custom: {
    50: '#679e5b',
    500: '#187515',
    950: '#000000',
  },
}
SCSS
$custom: #187515;
$custom-light: #679e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187515",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 118.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.15344,
    "h": 142.5
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#187515
secondary
#A73BAB
accent
#3BECE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187515

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

Preview Lab → · Contrast checker → · Palette generator →

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