#187931#187931

#187931 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.138 H 147.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#187931
RGBrgb(24, 121, 49)
HSLhsl(135, 67%, 28%)
HSVhsv(135, 80%, 47%)
CMYKcmyk(80.2%, 0%, 59.5%, 52.5%)
CIE-LABlab(44.36, -43.20, 31.44)
CIE-LCHlch(44.36, 53.43, 143.95°)
OKLaboklab(50.6% -0.1162 0.0747)
OKLCHoklch(50.6% 0.138 147.3)
XYZxyz(7.7678, 14.0898, 5.2153)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187931 #791860
analogous
#2F7918 #187931 #187961
triadic
#187931 #311879 #793118
tetradic
#187931 #182F79 #791860 #796118
square
#187931 #182F79 #791860 #796118
split-complementary
#187931 #611879 #79182F
monochromatic
#051A0A #0E461C #187931 #22AC46 #35D75E

Accessibility & contrast

On white

5.50
#187931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#187931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187931
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187931#FFFFFF#000000##FFFFFF
##1879311.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#706637
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187931;
/* rgb */ color: rgb(24, 121, 49);
/* oklch */ color: oklch(50.6% 0.138 147.3);
Tailwind
colors: {
  custom: {
    50: '#67a16b',
    500: '#187931',
    950: '#000000',
  },
}
SCSS
$custom: #187931;
$custom-light: #67a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#187931",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 135.464,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.13815,
    "h": 147.3
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#187931
secondary
#AE3F91
accent
#3EBEEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187931

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

Preview Lab → · Contrast checker → · Palette generator →

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