#187331#187331

#187331 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.130 H 147.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#187331
RGBrgb(24, 115, 49)
HSLhsl(136, 65%, 27%)
HSVhsv(136, 79%, 45%)
CMYKcmyk(79.1%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.27, -40.98, 28.95)
CIE-LCHlch(42.27, 50.17, 144.76°)
OKLaboklab(48.87% -0.1102 0.0693)
OKLCHoklch(48.87% 0.13 147.8)
XYZxyz(7.0612, 12.6766, 4.9798)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187331 #73185A
analogous
#2C7318 #187331 #18735F
triadic
#187331 #311873 #733118
tetradic
#187331 #182C73 #73185A #735F18
square
#187331 #182C73 #73185A #735F18
split-complementary
#187331 #5F1873 #73182C
monochromatic
#05190B #0D401B #187331 #23A647 #31D45E

Accessibility & contrast

On white

5.94
#187331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#187331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187331
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187331#FFFFFF#000000##FFFFFF
##1873311.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187331;
/* rgb */ color: rgb(24, 115, 49);
/* oklch */ color: oklch(48.9% 0.130 147.8);
Tailwind
colors: {
  custom: {
    50: '#659c6b',
    500: '#187331',
    950: '#000000',
  },
}
SCSS
$custom: #187331;
$custom-light: #659c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187331",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 136.484,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.13017,
    "h": 147.8
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#187331
secondary
#A83F8B
accent
#3FBAE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187331

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

Preview Lab → · Contrast checker → · Palette generator →

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