#187D3F#187D3F

#187D3F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.130 H 150.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#187D3F
RGBrgb(24, 125, 63)
HSLhsl(143, 68%, 29%)
HSVhsv(143, 81%, 49%)
CMYKcmyk(80.8%, 0%, 49.6%, 51%)
CIE-LABlab(45.93, -42.42, 25.96)
CIE-LCHlch(45.93, 49.74, 148.54°)
OKLaboklab(51.96% -0.114 0.0634)
OKLCHoklch(51.96% 0.13 150.9)
XYZxyz(8.6068, 15.2193, 7.1857)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D3F #7D1856
analogous
#247D18 #187D3F #187D72
triadic
#187D3F #3F187D #7D3F18
tetradic
#187D3F #18247D #7D1856 #7D7218
square
#187D3F #18247D #7D1856 #7D7218
split-complementary
#187D3F #72187D #7D1824
monochromatic
#051A0D #0E4A25 #187D3F #22B059 #37D975

Accessibility & contrast

On white

5.19
#187D3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187D3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D3F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D3F#FFFFFF#000000##FFFFFF
##187D3F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723A
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d3f;
/* rgb */ color: rgb(24, 125, 63);
/* oklch */ color: oklch(52.0% 0.130 150.9);
Tailwind
colors: {
  custom: {
    50: '#67a475',
    500: '#187d3f',
    950: '#000000',
  },
}
SCSS
$custom: #187d3f;
$custom-light: #67a475;
$custom-dark: #000000;
JSON
{
  "hex": "#187d3f",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 63
  },
  "hsl": {
    "h": 143.168,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.1304,
    "h": 150.9
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#187D3F
secondary
#B23F85
accent
#3DA8EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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