#187531#187531

#187531 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.133 H 147.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#187531
RGBrgb(24, 117, 49)
HSLhsl(136, 66%, 28%)
HSVhsv(136, 79%, 46%)
CMYKcmyk(79.5%, 0%, 58.1%, 54.1%)
CIE-LABlab(42.97, -41.73, 29.78)
CIE-LCHlch(42.97, 51.26, 144.48°)
OKLaboklab(49.45% -0.1122 0.0711)
OKLCHoklch(49.45% 0.133 147.6)
XYZxyz(7.2918, 13.1377, 5.0567)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187531 #75185C
analogous
#2E7518 #187531 #18755F
triadic
#187531 #311875 #753118
tetradic
#187531 #182E75 #75185C #755F18
square
#187531 #182E75 #75185C #755F18
split-complementary
#187531 #5F1875 #75182E
monochromatic
#05190B #0E421C #187531 #22A846 #32D55E

Accessibility & contrast

On white

5.79
#187531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#187531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187531
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187531#FFFFFF#000000##FFFFFF
##1875311.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187531;
/* rgb */ color: rgb(24, 117, 49);
/* oklch */ color: oklch(49.4% 0.133 147.6);
Tailwind
colors: {
  custom: {
    50: '#669e6b',
    500: '#187531',
    950: '#000000',
  },
}
SCSS
$custom: #187531;
$custom-light: #669e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187531",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 136.129,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.13285,
    "h": 147.6
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#187531
secondary
#AA3F8D
accent
#3FBBE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #187531

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

Preview Lab → · Contrast checker → · Palette generator →

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