#187215#187215

#187215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.150 H 142.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#187215
RGBrgb(24, 114, 21)
HSLhsl(118, 69%, 26%)
HSVhsv(118, 82%, 45%)
CMYKcmyk(78.9%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.66, -43.77, 40.84)
CIE-LCHlch(41.66, 59.86, 136.98°)
OKLaboklab(48.28% -0.1189 0.0913)
OKLCHoklch(48.28% 0.15 142.5)
XYZxyz(6.5290, 12.2822, 2.7359)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187215 #6F1572
analogous
#477215 #187215 #157241
triadic
#187215 #151872 #721518
tetradic
#187215 #154772 #6F1572 #724115
square
#187215 #154772 #6F1572 #724115
split-complementary
#187215 #411572 #721547
monochromatic
#051A05 #0D3E0B #187215 #23A61F #2FD82A

Accessibility & contrast

On white

6.08
#187215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#187215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187215
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187215#FFFFFF#000000##FFFFFF
##1872151.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187215;
/* rgb */ color: rgb(24, 114, 21);
/* oklch */ color: oklch(48.3% 0.150 142.5);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#187215',
    950: '#000000',
  },
}
SCSS
$custom: #187215;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#187215",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 118.065,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.14996,
    "h": 142.5
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187215

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

Preview Lab → · Contrast checker → · Palette generator →

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