#187D2E#187D2E

#187D2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.146 H 146.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#187D2E
RGBrgb(24, 125, 46)
HSLhsl(133, 68%, 29%)
HSVhsv(133, 81%, 49%)
CMYKcmyk(80.8%, 0%, 63.2%, 51%)
CIE-LABlab(45.71, -45.05, 34.50)
CIE-LCHlch(45.71, 56.74, 142.55°)
OKLaboklab(51.71% -0.1213 0.0811)
OKLCHoklch(51.71% 0.146 146.2)
XYZxyz(8.2028, 15.0577, 5.0583)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2E #7D1867
analogous
#357D18 #187D2E #187D61
triadic
#187D2E #2E187D #7D2E18
tetradic
#187D2E #18357D #7D1867 #7D6118
square
#187D2E #18357D #7D1867 #7D6118
split-complementary
#187D2E #61187D #7D1835
monochromatic
#051A09 #0E4A1B #187D2E #22B041 #37D95A

Accessibility & contrast

On white

5.23
#187D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2E#FFFFFF#000000##FFFFFF
##187D2E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2e;
/* rgb */ color: rgb(24, 125, 46);
/* oklch */ color: oklch(51.7% 0.146 146.2);
Tailwind
colors: {
  custom: {
    50: '#68a46a',
    500: '#187d2e',
    950: '#000000',
  },
}
SCSS
$custom: #187d2e;
$custom-light: #68a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 133.069,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.14591,
    "h": 146.2
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#187D2E
secondary
#B23F99
accent
#3DC5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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