#187B28#187B28

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

Color values

HEX#187B28
RGBrgb(24, 123, 40)
HSLhsl(130, 67%, 29%)
HSVhsv(130, 80%, 48%)
CMYKcmyk(80.5%, 0%, 67.5%, 51.8%)
CIE-LABlab(44.96, -45.08, 36.50)
CIE-LCHlch(44.96, 58.00, 141.01°)
OKLaboklab(51.06% -0.1216 0.0847)
OKLCHoklch(51.06% 0.148 145.1)
XYZxyz(7.8421, 14.5124, 4.3949)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B28 #7B186B
analogous
#3A7B18 #187B28 #187B5A
triadic
#187B28 #28187B #7B2818
tetradic
#187B28 #183A7B #7B186B #7B5A18
square
#187B28 #183A7B #7B186B #7B5A18
split-complementary
#187B28 #5A187B #7B183A
monochromatic
#051A08 #0E4817 #187B28 #22AE39 #36D850

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B28#FFFFFF#000000##FFFFFF
##187B281.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)
#7D6F1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b28;
/* rgb */ color: rgb(24, 123, 40);
/* oklch */ color: oklch(51.1% 0.148 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a266',
    500: '#187b28',
    950: '#000000',
  },
}
SCSS
$custom: #187b28;
$custom-light: #68a266;
$custom-dark: #000000;
JSON
{
  "hex": "#187b28",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 129.697,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.14823,
    "h": 145.1
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#187B28
secondary
#B03F9D
accent
#3ECEEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B28

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

Preview Lab → · Contrast checker → · Palette generator →

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