#187D29#187D29

#187D29 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.150 H 145.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#187D29
RGBrgb(24, 125, 41)
HSLhsl(130, 68%, 29%)
HSVhsv(130, 81%, 49%)
CMYKcmyk(80.8%, 0%, 67.2%, 51%)
CIE-LABlab(45.66, -45.66, 36.81)
CIE-LCHlch(45.66, 58.65, 141.12°)
OKLaboklab(51.65% -0.1232 0.0855)
OKLCHoklch(51.65% 0.15 145.2)
XYZxyz(8.1100, 15.0205, 4.5692)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D29 #7D186C
analogous
#3A7D18 #187D29 #187D5C
triadic
#187D29 #29187D #7D2918
tetradic
#187D29 #183A7D #7D186C #7D5C18
square
#187D29 #183A7D #7D186C #7D5C18
split-complementary
#187D29 #5C187D #7D183A
monochromatic
#051A08 #0E4A18 #187D29 #22B03A #37D952

Accessibility & contrast

On white

5.24
#187D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D29
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D29#FFFFFF#000000##FFFFFF
##187D291.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187d29;
/* rgb */ color: rgb(24, 125, 41);
/* oklch */ color: oklch(51.6% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#68a467',
    500: '#187d29',
    950: '#000000',
  },
}
SCSS
$custom: #187d29;
$custom-light: #68a467;
$custom-dark: #000000;
JSON
{
  "hex": "#187d29",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 130.099,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.14994,
    "h": 145.2
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#187D29
secondary
#B23F9E
accent
#3DCDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187D29

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

Preview Lab → · Contrast checker → · Palette generator →

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