#187B29#187B29

#187B29 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.147 H 145.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#187B29
RGBrgb(24, 123, 41)
HSLhsl(130, 67%, 29%)
HSVhsv(130, 80%, 48%)
CMYKcmyk(80.5%, 0%, 66.7%, 51.8%)
CIE-LABlab(44.97, -44.97, 36.04)
CIE-LCHlch(44.97, 57.63, 141.28°)
OKLaboklab(51.07% -0.1213 0.0839)
OKLCHoklch(51.07% 0.147 145.3)
XYZxyz(7.8593, 14.5193, 4.4857)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B29 #7B186A
analogous
#397B18 #187B29 #187B5B
triadic
#187B29 #29187B #7B2918
tetradic
#187B29 #18397B #7B186A #7B5B18
square
#187B29 #18397B #7B186A #7B5B18
split-complementary
#187B29 #5B187B #7B1839
monochromatic
#051A09 #0E4818 #187B29 #22AE3A #36D852

Accessibility & contrast

On white

5.38
#187B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B29
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B29#FFFFFF#000000##FFFFFF
##187B291.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b29;
/* rgb */ color: rgb(24, 123, 41);
/* oklch */ color: oklch(51.1% 0.147 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a266',
    500: '#187b29',
    950: '#000000',
  },
}
SCSS
$custom: #187b29;
$custom-light: #68a266;
$custom-dark: #000000;
JSON
{
  "hex": "#187b29",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 130.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.14745,
    "h": 145.3
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#187B29
secondary
#B03F9C
accent
#3ECDEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B29

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

Preview Lab → · Contrast checker → · Palette generator →

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