#187E2D#187E2D

#187E2D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.148 H 146.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187E2D
RGBrgb(24, 126, 45)
HSLhsl(132, 68%, 29%)
HSVhsv(132, 81%, 49%)
CMYKcmyk(81%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.05, -45.53, 35.37)
CIE-LCHlch(46.05, 57.65, 142.16°)
OKLaboklab(51.98% -0.1226 0.0829)
OKLCHoklch(51.98% 0.148 146)
XYZxyz(8.3106, 15.3044, 4.9982)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E2D #7E1869
analogous
#367E18 #187E2D #187E60
triadic
#187E2D #2D187E #7E2D18
tetradic
#187E2D #18367E #7E1869 #7E6018
square
#187E2D #18367E #7E1869 #7E6018
split-complementary
#187E2D #60187E #7E1836
monochromatic
#051A09 #0E4B1B #187E2D #22B13F #37D959

Accessibility & contrast

On white

5.17
#187E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E2D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E2D#FFFFFF#000000##FFFFFF
##187E2D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e2d;
/* rgb */ color: rgb(24, 126, 45);
/* oklch */ color: oklch(52.0% 0.148 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a469',
    500: '#187e2d',
    950: '#000000',
  },
}
SCSS
$custom: #187e2d;
$custom-light: #68a469;
$custom-dark: #000000;
JSON
{
  "hex": "#187e2d",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 132.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.148,
    "h": 146
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#187E2D
secondary
#B23F9B
accent
#3DC7EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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