#187315#187315

#187315 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.151 H 142.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#187315
RGBrgb(24, 115, 21)
HSLhsl(118, 69%, 27%)
HSVhsv(118, 82%, 45%)
CMYKcmyk(79.1%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.01, -44.11, 41.18)
CIE-LCHlch(42.01, 60.34, 136.97°)
OKLaboklab(48.57% -0.1199 0.092)
OKLCHoklch(48.57% 0.151 142.5)
XYZxyz(6.6424, 12.5090, 2.7737)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187315 #701573
analogous
#477315 #187315 #157341
triadic
#187315 #151873 #731518
tetradic
#187315 #154773 #701573 #734115
square
#187315 #154773 #701573 #734115
split-complementary
#187315 #411573 #731547
monochromatic
#051A05 #0D3F0C #187315 #23A71E #30D82A

Accessibility & contrast

On white

6.00
#187315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#187315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187315
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187315#FFFFFF#000000##FFFFFF
##1873151.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187315;
/* rgb */ color: rgb(24, 115, 21);
/* oklch */ color: oklch(48.6% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#679c5b',
    500: '#187315',
    950: '#000000',
  },
}
SCSS
$custom: #187315;
$custom-light: #679c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187315",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 118.085,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.15112,
    "h": 142.5
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#187315
secondary
#A53BA9
accent
#3CECE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187315

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

Preview Lab → · Contrast checker → · Palette generator →

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