#187311#187311

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

Color values

HEX#187311
RGBrgb(24, 115, 17)
HSLhsl(116, 74%, 26%)
HSVhsv(116, 85%, 45%)
CMYKcmyk(79.1%, 0%, 85.2%, 54.9%)
CIE-LABlab(41.99, -44.37, 42.44)
CIE-LCHlch(41.99, 61.40, 136.27°)
OKLaboklab(48.55% -0.1208 0.0941)
OKLCHoklch(48.55% 0.153 142.1)
XYZxyz(6.6082, 12.4954, 2.5938)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187311 #6C1173
analogous
#497311 #187311 #11733B
triadic
#187311 #111873 #731118
tetradic
#187311 #114973 #6C1173 #733B11
square
#187311 #114973 #6C1173 #733B11
split-complementary
#187311 #3B1173 #731149
monochromatic
#061B04 #0D3E09 #187311 #23A819 #2EDE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187311#FFFFFF#000000##FFFFFF
##1873111.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)
#6C601E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187311;
/* rgb */ color: rgb(24, 115, 17);
/* oklch */ color: oklch(48.5% 0.153 142.1);
Tailwind
colors: {
  custom: {
    50: '#679c59',
    500: '#187311',
    950: '#000000',
  },
}
SCSS
$custom: #187311;
$custom-light: #679c59;
$custom-dark: #000000;
JSON
{
  "hex": "#187311",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 115.714,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.15308,
    "h": 142.1
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#187311
secondary
#A236AA
accent
#37F1E4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187311

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

Preview Lab → · Contrast checker → · Palette generator →

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