#187C20#187C20

#187C20 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.155 H 143.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#187C20
RGBrgb(24, 124, 32)
HSLhsl(125, 68%, 29%)
HSVhsv(125, 81%, 49%)
CMYKcmyk(80.6%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.24, -46.26, 40.27)
CIE-LCHlch(45.24, 61.33, 138.97°)
OKLaboklab(51.27% -0.1252 0.0917)
OKLCHoklch(51.27% 0.155 143.8)
XYZxyz(7.8445, 14.7128, 3.7927)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C20 #7C1874
analogous
#427C18 #187C20 #187C52
triadic
#187C20 #20187C #7C2018
tetradic
#187C20 #18427C #7C1874 #7C5218
square
#187C20 #18427C #7C1874 #7C5218
split-complementary
#187C20 #52187C #7C1842
monochromatic
#051A07 #0E4913 #187C20 #22AF2D #36D843

Accessibility & contrast

On white

5.33
#187C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C20
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C20#FFFFFF#000000##FFFFFF
##187C201.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c20;
/* rgb */ color: rgb(24, 124, 32);
/* oklch */ color: oklch(51.3% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a361',
    500: '#187c20',
    950: '#000000',
  },
}
SCSS
$custom: #187c20;
$custom-light: #68a361;
$custom-dark: #000000;
JSON
{
  "hex": "#187c20",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 124.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51273,
    "c": 0.15518,
    "h": 143.8
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#187C20
secondary
#B13FA8
accent
#3DDDEA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C20

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

Preview Lab → · Contrast checker → · Palette generator →

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