#187115#187115

#187115 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.149 H 142.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#187115
RGBrgb(24, 113, 21)
HSLhsl(118, 69%, 26%)
HSVhsv(118, 81%, 44%)
CMYKcmyk(78.8%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.31, -43.42, 40.50)
CIE-LCHlch(41.31, 59.38, 137.00°)
OKLaboklab(47.98% -0.118 0.0906)
OKLCHoklch(47.98% 0.149 142.5)
XYZxyz(6.4168, 12.0578, 2.6985)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187115 #6E1571
analogous
#467115 #187115 #157140
triadic
#187115 #151871 #711518
tetradic
#187115 #154671 #6E1571 #714015
square
#187115 #154671 #6E1571 #714015
split-complementary
#187115 #401571 #711546
monochromatic
#051A05 #0D3D0B #187115 #23A51F #2FD729

Accessibility & contrast

On white

6.16
#187115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#187115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187115
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187115#FFFFFF#000000##FFFFFF
##1871151.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187115;
/* rgb */ color: rgb(24, 113, 21);
/* oklch */ color: oklch(48.0% 0.149 142.5);
Tailwind
colors: {
  custom: {
    50: '#669b5a',
    500: '#187115',
    950: '#000000',
  },
}
SCSS
$custom: #187115;
$custom-light: #669b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#187115",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 118.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.14879,
    "h": 142.5
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#187115
secondary
#A43BA7
accent
#3CEBE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187115

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

Preview Lab → · Contrast checker → · Palette generator →

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