#187040#187040

#187040 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.111 H 154.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#187040
RGBrgb(24, 112, 64)
HSLhsl(147, 65%, 27%)
HSVhsv(147, 79%, 44%)
CMYKcmyk(78.6%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.46, -37.12, 19.63)
CIE-LCHlch(41.46, 42.00, 152.13°)
OKLaboklab(48.27% -0.1 0.0488)
OKLCHoklch(48.27% 0.111 154)
XYZxyz(7.0956, 12.1519, 6.8211)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187040 #701848
analogous
#1C7018 #187040 #18706C
triadic
#187040 #401870 #704018
tetradic
#187040 #181C70 #701848 #706C18
square
#187040 #181C70 #701848 #706C18
split-complementary
#187040 #6C1870 #70181C
monochromatic
#05190E #0D3E23 #187040 #23A25D #30D37A

Accessibility & contrast

On white

6.12
#187040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#187040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187040
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187040#FFFFFF#000000##FFFFFF
##1870401.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187040;
/* rgb */ color: rgb(24, 112, 64);
/* oklch */ color: oklch(48.3% 0.111 154.0);
Tailwind
colors: {
  custom: {
    50: '#649a75',
    500: '#187040',
    950: '#000000',
  },
}
SCSS
$custom: #187040;
$custom-light: #649a75;
$custom-dark: #000000;
JSON
{
  "hex": "#187040",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 147.273,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.11128,
    "h": 154
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#187040
secondary
#A53E77
accent
#409CE8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #187040

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

Preview Lab → · Contrast checker → · Palette generator →

#187040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva