#187418#187418

#187418 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.151 H 142.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#187418
RGBrgb(24, 116, 24)
HSLhsl(120, 66%, 27%)
HSVhsv(120, 79%, 45%)
CMYKcmyk(79.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.38, -44.23, 40.48)
CIE-LCHlch(42.38, 59.95, 137.53°)
OKLaboklab(48.88% -0.12 0.091)
OKLCHoklch(48.88% 0.151 142.8)
XYZxyz(6.7865, 12.7501, 2.9673)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187418 #741874
analogous
#467418 #187418 #187446
triadic
#187418 #181874 #741818
tetradic
#187418 #184674 #741874 #744618
square
#187418 #184674 #741874 #744618
split-complementary
#187418 #461874 #741846
monochromatic
#051905 #0E410E #187418 #22A722 #32D532

Accessibility & contrast

On white

5.92
#187418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#187418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187418
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187418#FFFFFF#000000##FFFFFF
##1874181.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187418;
/* rgb */ color: rgb(24, 116, 24);
/* oklch */ color: oklch(48.9% 0.151 142.8);
Tailwind
colors: {
  custom: {
    50: '#679d5c',
    500: '#187418',
    950: '#000000',
  },
}
SCSS
$custom: #187418;
$custom-light: #679d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187418",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.15065,
    "h": 142.8
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#187418
secondary
#A93FA9
accent
#3FE9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187418

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

Preview Lab → · Contrast checker → · Palette generator →

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