#187D36#187D36

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

Color values

HEX#187D36
RGBrgb(24, 125, 54)
HSLhsl(138, 68%, 29%)
HSVhsv(138, 81%, 49%)
CMYKcmyk(80.8%, 0%, 56.8%, 51%)
CIE-LABlab(45.81, -43.91, 30.59)
CIE-LCHlch(45.81, 53.52, 145.13°)
OKLaboklab(51.82% -0.118 0.0733)
OKLCHoklch(51.82% 0.139 148.2)
XYZxyz(8.3755, 15.1268, 5.9677)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D36 #7D185F
analogous
#2D7D18 #187D36 #187D69
triadic
#187D36 #36187D #7D3618
tetradic
#187D36 #182D7D #7D185F #7D6918
square
#187D36 #182D7D #7D185F #7D6918
split-complementary
#187D36 #69187D #7D182D
monochromatic
#051A0B #0E4A20 #187D36 #22B04C #37D967

Accessibility & contrast

On white

5.22
#187D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187D36
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D36#FFFFFF#000000##FFFFFF
##187D361.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712F
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d36;
/* rgb */ color: rgb(24, 125, 54);
/* oklch */ color: oklch(51.8% 0.139 148.2);
Tailwind
colors: {
  custom: {
    50: '#68a46f',
    500: '#187d36',
    950: '#000000',
  },
}
SCSS
$custom: #187d36;
$custom-light: #68a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#187d36",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 137.822,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.1389,
    "h": 148.2
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#187D36
secondary
#B23F90
accent
#3DB7EB
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D36

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

Preview Lab → · Contrast checker → · Palette generator →

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