#187518#187518

#187518 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.152 H 142.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#187518
RGBrgb(24, 117, 24)
HSLhsl(120, 66%, 28%)
HSVhsv(120, 79%, 46%)
CMYKcmyk(79.5%, 0%, 79.5%, 54.1%)
CIE-LABlab(42.74, -44.57, 40.82)
CIE-LCHlch(42.74, 60.44, 137.51°)
OKLaboklab(49.18% -0.121 0.0917)
OKLCHoklch(49.18% 0.152 142.8)
XYZxyz(6.9024, 12.9819, 3.0060)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187518 #751875
analogous
#467518 #187518 #187546
triadic
#187518 #181875 #751818
tetradic
#187518 #184675 #751875 #754618
square
#187518 #184675 #751875 #754618
split-complementary
#187518 #461875 #751846
monochromatic
#051905 #0E420E #187518 #22A822 #32D532

Accessibility & contrast

On white

5.84
#187518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#187518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187518
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187518#FFFFFF#000000##FFFFFF
##1875181.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #187518;
/* rgb */ color: rgb(24, 117, 24);
/* oklch */ color: oklch(49.2% 0.152 142.8);
Tailwind
colors: {
  custom: {
    50: '#679e5c',
    500: '#187518',
    950: '#000000',
  },
}
SCSS
$custom: #187518;
$custom-light: #679e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187518",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.15182,
    "h": 142.8
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187518

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

Preview Lab → · Contrast checker → · Palette generator →

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