#187E16#187E16

#187E16 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.163 H 142.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187E16
RGBrgb(24, 126, 22)
HSLhsl(119, 70%, 29%)
HSVhsv(119, 83%, 49%)
CMYKcmyk(81%, 0%, 82.5%, 50.6%)
CIE-LABlab(45.87, -47.72, 44.53)
CIE-LCHlch(45.87, 65.27, 136.99°)
OKLaboklab(51.78% -0.1296 0.0992)
OKLCHoklch(51.78% 0.163 142.6)
XYZxyz(7.9819, 15.1729, 3.2669)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E16 #7C167E
analogous
#4C7E16 #187E16 #167E48
triadic
#187E16 #16187E #7E1618
tetradic
#187E16 #164C7E #7C167E #7E4816
square
#187E16 #164C7E #7C167E #7E4816
split-complementary
#187E16 #48167E #7E164C
monochromatic
#051A05 #0E4A0D #187E16 #22B21F #36DB33

Accessibility & contrast

On white

5.20
#187E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E16
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E16#FFFFFF#000000##FFFFFF
##187E161.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e16;
/* rgb */ color: rgb(24, 126, 22);
/* oklch */ color: oklch(51.8% 0.163 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa45d',
    500: '#187e16',
    950: '#000000',
  },
}
SCSS
$custom: #187e16;
$custom-light: #6aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#187e16",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 118.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.16321,
    "h": 142.6
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#187E16
secondary
#B13DB3
accent
#3BEDEA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187E16

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

Preview Lab → · Contrast checker → · Palette generator →

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