#187A45#187A45

#187A45 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.120 H 153.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187A45
RGBrgb(24, 122, 69)
HSLhsl(148, 67%, 29%)
HSVhsv(148, 80%, 48%)
CMYKcmyk(80.3%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.00, -40.13, 21.43)
CIE-LCHlch(45.00, 45.50, 151.90°)
OKLaboklab(51.22% -0.108 0.0531)
OKLCHoklch(51.22% 0.12 153.8)
XYZxyz(8.4096, 14.5419, 7.9927)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A45 #7A184D
analogous
#1C7A18 #187A45 #187A76
triadic
#187A45 #45187A #7A4518
tetradic
#187A45 #181C7A #7A184D #7A7618
square
#187A45 #181C7A #7A184D #7A7618
split-complementary
#187A45 #76187A #7A181C
monochromatic
#051A0E #0E4728 #187A45 #22AD62 #35D780

Accessibility & contrast

On white

5.37
#187A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A45
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A45#FFFFFF#000000##FFFFFF
##187A451.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a45;
/* rgb */ color: rgb(24, 122, 69);
/* oklch */ color: oklch(51.2% 0.120 153.8);
Tailwind
colors: {
  custom: {
    50: '#66a179',
    500: '#187a45',
    950: '#000000',
  },
}
SCSS
$custom: #187a45;
$custom-light: #66a179;
$custom-dark: #000000;
JSON
{
  "hex": "#187a45",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 147.551,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.12038,
    "h": 153.8
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#187A45
secondary
#AF3F7B
accent
#3E9BEA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187A45

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

Preview Lab → · Contrast checker → · Palette generator →

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