#187D37#187D37

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

Color values

HEX#187D37
RGBrgb(24, 125, 55)
HSLhsl(138, 68%, 29%)
HSVhsv(138, 81%, 49%)
CMYKcmyk(80.8%, 0%, 56%, 51%)
CIE-LABlab(45.82, -43.76, 30.09)
CIE-LCHlch(45.82, 53.10, 145.49°)
OKLaboklab(51.83% -0.1176 0.0722)
OKLCHoklch(51.83% 0.138 148.4)
XYZxyz(8.3992, 15.1362, 6.0926)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D37 #7D185E
analogous
#2C7D18 #187D37 #187D6A
triadic
#187D37 #37187D #7D3718
tetradic
#187D37 #182C7D #7D185E #7D6A18
square
#187D37 #182C7D #7D185E #7D6A18
split-complementary
#187D37 #6A187D #7D182C
monochromatic
#051A0B #0E4A20 #187D37 #22B04E #37D968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187D37#FFFFFF#000000##FFFFFF
##187D371.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)
#7E7131
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d37;
/* rgb */ color: rgb(24, 125, 55);
/* oklch */ color: oklch(51.8% 0.138 148.4);
Tailwind
colors: {
  custom: {
    50: '#68a470',
    500: '#187d37',
    950: '#000000',
  },
}
SCSS
$custom: #187d37;
$custom-light: #68a470;
$custom-dark: #000000;
JSON
{
  "hex": "#187d37",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 138.416,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.13797,
    "h": 148.4
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#187D37
secondary
#B23F8E
accent
#3DB5EB
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D37

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

Preview Lab → · Contrast checker → · Palette generator →

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