#187015#187015

#187015 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.148 H 142.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#187015
RGBrgb(24, 112, 21)
HSLhsl(118, 68%, 26%)
HSVhsv(118, 81%, 44%)
CMYKcmyk(78.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(40.95, -43.08, 40.15)
CIE-LCHlch(40.95, 58.89, 137.01°)
OKLaboklab(47.69% -0.1171 0.0899)
OKLCHoklch(47.69% 0.148 142.5)
XYZxyz(6.3058, 11.8359, 2.6616)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187015 #6D1570
analogous
#457015 #187015 #15703F
triadic
#187015 #151870 #701518
tetradic
#187015 #154570 #6D1570 #703F15
square
#187015 #154570 #6D1570 #703F15
split-complementary
#187015 #3F1570 #701545
monochromatic
#061A05 #0D3C0B #187015 #23A41F #2ED729

Accessibility & contrast

On white

6.24
#187015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#187015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187015
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187015#FFFFFF#000000##FFFFFF
##1870151.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187015;
/* rgb */ color: rgb(24, 112, 21);
/* oklch */ color: oklch(47.7% 0.148 142.5);
Tailwind
colors: {
  custom: {
    50: '#669a5a',
    500: '#187015',
    950: '#000000',
  },
}
SCSS
$custom: #187015;
$custom-light: #669a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187015",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 118.022,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.14762,
    "h": 142.5
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#187015
secondary
#A33BA6
accent
#3DEBE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187015

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

Preview Lab → · Contrast checker → · Palette generator →

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