#187F19#187F19

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

Color values

HEX#187F19
RGBrgb(24, 127, 25)
HSLhsl(121, 68%, 30%)
HSVhsv(121, 81%, 50%)
CMYKcmyk(81.1%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.23, -47.85, 43.88)
CIE-LCHlch(46.23, 64.92, 137.47°)
OKLaboklab(52.09% -0.1298 0.0983)
OKLCHoklch(52.09% 0.163 142.9)
XYZxyz(8.1410, 15.4421, 3.4711)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F19 #7F187E
analogous
#4A7F18 #187F19 #187F4D
triadic
#187F19 #19187F #7F1918
tetradic
#187F19 #184A7F #7F187E #7F4D18
square
#187F19 #184A7F #7F187E #7F4D18
split-complementary
#187F19 #4D187F #7F184A
monochromatic
#051A05 #0E4C0F #187F19 #22B223 #38D93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F19#FFFFFF#000000##FFFFFF
##187F191.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)
#776B25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f19;
/* rgb */ color: rgb(24, 127, 25);
/* oklch */ color: oklch(52.1% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa55e',
    500: '#187f19',
    950: '#000000',
  },
}
SCSS
$custom: #187f19;
$custom-light: #6aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f19",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 120.583,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.16281,
    "h": 142.9
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#187F19
secondary
#B33FB2
accent
#3DE9EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187F19

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

Preview Lab → · Contrast checker → · Palette generator →

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