#187C29#187C29

#187C29 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.149 H 145.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187C29
RGBrgb(24, 124, 41)
HSLhsl(130, 68%, 29%)
HSVhsv(130, 81%, 49%)
CMYKcmyk(80.6%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.32, -45.31, 36.43)
CIE-LCHlch(45.32, 58.14, 141.20°)
OKLaboklab(51.36% -0.1222 0.0847)
OKLCHoklch(51.36% 0.149 145.3)
XYZxyz(7.9840, 14.7686, 4.5272)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C29 #7C186B
analogous
#397C18 #187C29 #187C5B
triadic
#187C29 #29187C #7C2918
tetradic
#187C29 #18397C #7C186B #7C5B18
square
#187C29 #18397C #7C186B #7C5B18
split-complementary
#187C29 #5B187C #7C1839
monochromatic
#051A08 #0E4918 #187C29 #22AF3A #36D852

Accessibility & contrast

On white

5.31
#187C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C29
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C29#FFFFFF#000000##FFFFFF
##187C291.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c29;
/* rgb */ color: rgb(24, 124, 41);
/* oklch */ color: oklch(51.4% 0.149 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a366',
    500: '#187c29',
    950: '#000000',
  },
}
SCSS
$custom: #187c29;
$custom-light: #68a366;
$custom-dark: #000000;
JSON
{
  "hex": "#187c29",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 130.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.1487,
    "h": 145.3
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#187C29
secondary
#B13F9D
accent
#3DCDEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C29

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

Preview Lab → · Contrast checker → · Palette generator →

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