#187F2D#187F2D

#187F2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.149 H 145.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#187F2D
RGBrgb(24, 127, 45)
HSLhsl(132, 68%, 30%)
HSVhsv(132, 81%, 50%)
CMYKcmyk(81.1%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.39, -45.88, 35.76)
CIE-LCHlch(46.39, 58.17, 142.06°)
OKLaboklab(52.27% -0.1236 0.0837)
OKLCHoklch(52.27% 0.149 145.9)
XYZxyz(8.4391, 15.5614, 5.0410)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F2D #7F186A
analogous
#377F18 #187F2D #187F61
triadic
#187F2D #2D187F #7F2D18
tetradic
#187F2D #18377F #7F186A #7F6118
square
#187F2D #18377F #7F186A #7F6118
split-complementary
#187F2D #61187F #7F1837
monochromatic
#051A09 #0E4C1B #187F2D #22B23F #38D959

Accessibility & contrast

On white

5.11
#187F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F2D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F2D#FFFFFF#000000##FFFFFF
##187F2D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f2d;
/* rgb */ color: rgb(24, 127, 45);
/* oklch */ color: oklch(52.3% 0.149 145.9);
Tailwind
colors: {
  custom: {
    50: '#69a569',
    500: '#187f2d',
    950: '#000000',
  },
}
SCSS
$custom: #187f2d;
$custom-light: #69a569;
$custom-dark: #000000;
JSON
{
  "hex": "#187f2d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 132.233,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.14926,
    "h": 145.9
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#187F2D
secondary
#B33F9C
accent
#3DC8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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