#187F16#187F16

#187F16 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.164 H 142.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187F16
RGBrgb(24, 127, 22)
HSLhsl(119, 70%, 29%)
HSVhsv(119, 83%, 50%)
CMYKcmyk(81.1%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.22, -48.05, 44.85)
CIE-LCHlch(46.22, 65.73, 136.97°)
OKLaboklab(52.07% -0.1305 0.0998)
OKLCHoklch(52.07% 0.164 142.6)
XYZxyz(8.1104, 15.4299, 3.3097)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F16 #7D167F
analogous
#4D7F16 #187F16 #167F49
triadic
#187F16 #16187F #7F1618
tetradic
#187F16 #164D7F #7D167F #7F4916
square
#187F16 #164D7F #7D167F #7F4916
split-complementary
#187F16 #49167F #7F164D
monochromatic
#051A05 #0E4B0D #187F16 #22B31F #37DC34

Accessibility & contrast

On white

5.14
#187F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F16
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F16#FFFFFF#000000##FFFFFF
##187F161.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187f16;
/* rgb */ color: rgb(24, 127, 22);
/* oklch */ color: oklch(52.1% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#187f16',
    950: '#000000',
  },
}
SCSS
$custom: #187f16;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#187f16",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 118.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.16433,
    "h": 142.6
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187F16

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

Preview Lab → · Contrast checker → · Palette generator →

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