#187F15#187F15

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

Color values

HEX#187F15
RGBrgb(24, 127, 21)
HSLhsl(118, 72%, 29%)
HSVhsv(118, 83%, 50%)
CMYKcmyk(81.1%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.21, -48.12, 45.16)
CIE-LCHlch(46.21, 65.99, 136.82°)
OKLaboklab(52.06% -0.1307 0.1003)
OKLCHoklch(52.06% 0.165 142.5)
XYZxyz(8.1009, 15.4261, 3.2599)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F15 #7C157F
analogous
#4D7F15 #187F15 #157F47
triadic
#187F15 #15187F #7F1518
tetradic
#187F15 #154D7F #7C157F #7F4715
square
#187F15 #154D7F #7C157F #7F4715
split-complementary
#187F15 #47157F #7F154D
monochromatic
#051A04 #0E4A0C #187F15 #22B41E #36DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F15#FFFFFF#000000##FFFFFF
##187F151.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)
#776B22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187f15;
/* rgb */ color: rgb(24, 127, 21);
/* oklch */ color: oklch(52.1% 0.165 142.5);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#187f15',
    950: '#000000',
  },
}
SCSS
$custom: #187f15;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#187f15",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 118.302,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.1648,
    "h": 142.5
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#187F15
secondary
#B13CB4
accent
#39EEE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187F15

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

Preview Lab → · Contrast checker → · Palette generator →

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