#187A1A#187A1A

#187A1A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.157 H 143.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#187A1A
RGBrgb(24, 122, 26)
HSLhsl(121, 67%, 29%)
HSVhsv(121, 80%, 48%)
CMYKcmyk(80.3%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.50, -46.10, 41.83)
CIE-LCHlch(44.50, 62.26, 137.78°)
OKLaboklab(50.65% -0.125 0.0941)
OKLCHoklch(50.65% 0.157 143)
XYZxyz(7.5222, 14.1869, 3.3190)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A1A #7A1878
analogous
#477A18 #187A1A #187A4B
triadic
#187A1A #1A187A #7A1A18
tetradic
#187A1A #18477A #7A1878 #7A4B18
square
#187A1A #18477A #7A1878 #7A4B18
split-complementary
#187A1A #4B187A #7A1847
monochromatic
#051A05 #0E470F #187A1A #22AD25 #35D738

Accessibility & contrast

On white

5.47
#187A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#187A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A1A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A1A#FFFFFF#000000##FFFFFF
##187A1A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a1a;
/* rgb */ color: rgb(24, 122, 26);
/* oklch */ color: oklch(50.6% 0.157 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#187a1a',
    950: '#000000',
  },
}
SCSS
$custom: #187a1a;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#187a1a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 121.224,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.15652,
    "h": 143
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#187A1A
secondary
#AF3FAC
accent
#3EE7EA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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