#187131#187131

#187131 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.127 H 148.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#187131
RGBrgb(24, 113, 49)
HSLhsl(137, 65%, 27%)
HSVhsv(137, 79%, 44%)
CMYKcmyk(78.8%, 0%, 56.6%, 55.7%)
CIE-LABlab(41.57, -40.23, 28.10)
CIE-LCHlch(41.57, 49.07, 145.06°)
OKLaboklab(48.29% -0.1082 0.0674)
OKLCHoklch(48.29% 0.127 148.1)
XYZxyz(6.8357, 12.2254, 4.9046)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187131 #711858
analogous
#2C7118 #187131 #18715E
triadic
#187131 #311871 #713118
tetradic
#187131 #182C71 #711858 #715E18
square
#187131 #182C71 #711858 #715E18
split-complementary
#187131 #5E1871 #71182C
monochromatic
#05190B #0D3F1B #187131 #23A347 #30D35E

Accessibility & contrast

On white

6.10
#187131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#187131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187131
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187131#FFFFFF#000000##FFFFFF
##1871311.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#685F36
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187131;
/* rgb */ color: rgb(24, 113, 49);
/* oklch */ color: oklch(48.3% 0.127 148.1);
Tailwind
colors: {
  custom: {
    50: '#659b6b',
    500: '#187131',
    950: '#000000',
  },
}
SCSS
$custom: #187131;
$custom-light: #659b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187131",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 136.854,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.12746,
    "h": 148.1
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#187131
secondary
#A63E89
accent
#40B9E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187131

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

Preview Lab → · Contrast checker → · Palette generator →

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