#187431#187431

#187431 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.132 H 147.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#187431
RGBrgb(24, 116, 49)
HSLhsl(136, 66%, 27%)
HSVhsv(136, 79%, 45%)
CMYKcmyk(79.3%, 0%, 57.8%, 54.5%)
CIE-LABlab(42.62, -41.35, 29.37)
CIE-LCHlch(42.62, 50.72, 144.62°)
OKLaboklab(49.16% -0.1112 0.0702)
OKLCHoklch(49.16% 0.132 147.7)
XYZxyz(7.1759, 12.9059, 5.0180)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187431 #74185B
analogous
#2D7418 #187431 #18745F
triadic
#187431 #311874 #743118
tetradic
#187431 #182D74 #74185B #745F18
square
#187431 #182D74 #74185B #745F18
split-complementary
#187431 #5F1874 #74182D
monochromatic
#05190B #0E411C #187431 #22A746 #32D55E

Accessibility & contrast

On white

5.86
#187431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#187431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187431
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187431#FFFFFF#000000##FFFFFF
##1874311.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187431;
/* rgb */ color: rgb(24, 116, 49);
/* oklch */ color: oklch(49.2% 0.132 147.7);
Tailwind
colors: {
  custom: {
    50: '#659d6b',
    500: '#187431',
    950: '#000000',
  },
}
SCSS
$custom: #187431;
$custom-light: #659d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#187431",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 136.304,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.13152,
    "h": 147.7
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187431

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

Preview Lab → · Contrast checker → · Palette generator →

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