#187031#187031

#187031 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.126 H 148.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#187031
RGBrgb(24, 112, 49)
HSLhsl(137, 65%, 27%)
HSVhsv(137, 79%, 44%)
CMYKcmyk(78.6%, 0%, 56.3%, 56.1%)
CIE-LABlab(41.22, -39.85, 27.68)
CIE-LCHlch(41.22, 48.51, 145.22°)
OKLaboklab(48% -0.1072 0.0665)
OKLCHoklch(48% 0.126 148.2)
XYZxyz(6.7247, 12.0035, 4.8676)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187031 #701857
analogous
#2B7018 #187031 #18705D
triadic
#187031 #311870 #703118
tetradic
#187031 #182B70 #701857 #705D18
square
#187031 #182B70 #701857 #705D18
split-complementary
#187031 #5D1870 #70182B
monochromatic
#05190B #0D3E1B #187031 #23A247 #30D35E

Accessibility & contrast

On white

6.18
#187031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#187031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187031
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187031#FFFFFF#000000##FFFFFF
##1870311.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71652B
Deuteranopia (green-blind)
#675E36
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187031;
/* rgb */ color: rgb(24, 112, 49);
/* oklch */ color: oklch(48.0% 0.126 148.2);
Tailwind
colors: {
  custom: {
    50: '#649a6b',
    500: '#187031',
    950: '#000000',
  },
}
SCSS
$custom: #187031;
$custom-light: #649a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187031",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 137.045,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47997,
    "c": 0.1261,
    "h": 148.2
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#187031
secondary
#A53E88
accent
#40B8E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #187031

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

Preview Lab → · Contrast checker → · Palette generator →

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