#187D38#187D38

#187D38 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.137 H 148.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#187D38
RGBrgb(24, 125, 56)
HSLhsl(139, 68%, 29%)
HSVhsv(139, 81%, 49%)
CMYKcmyk(80.8%, 0%, 55.2%, 51%)
CIE-LABlab(45.83, -43.60, 29.58)
CIE-LCHlch(45.83, 52.69, 145.84°)
OKLaboklab(51.85% -0.1171 0.0712)
OKLCHoklch(51.85% 0.137 148.7)
XYZxyz(8.4234, 15.1459, 6.2201)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D38 #7D185D
analogous
#2B7D18 #187D38 #187D6B
triadic
#187D38 #38187D #7D3818
tetradic
#187D38 #182B7D #7D185D #7D6B18
square
#187D38 #182B7D #7D185D #7D6B18
split-complementary
#187D38 #6B187D #7D182B
monochromatic
#051A0C #0E4A21 #187D38 #22B04F #37D96A

Accessibility & contrast

On white

5.21
#187D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D38
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D38#FFFFFF#000000##FFFFFF
##187D381.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d38;
/* rgb */ color: rgb(24, 125, 56);
/* oklch */ color: oklch(51.8% 0.137 148.7);
Tailwind
colors: {
  custom: {
    50: '#68a470',
    500: '#187d38',
    950: '#000000',
  },
}
SCSS
$custom: #187d38;
$custom-light: #68a470;
$custom-dark: #000000;
JSON
{
  "hex": "#187d38",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 139.01,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.13706,
    "h": 148.7
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#187D38
secondary
#B23F8D
accent
#3DB4EB
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D38

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

Preview Lab → · Contrast checker → · Palette generator →

#187D38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva