#187018#187018

#187018 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.146 H 142.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#187018
RGBrgb(24, 112, 24)
HSLhsl(120, 65%, 27%)
HSVhsv(120, 79%, 44%)
CMYKcmyk(78.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(40.97, -42.85, 39.08)
CIE-LCHlch(40.97, 57.99, 137.63°)
OKLaboklab(47.71% -0.1163 0.0881)
OKLCHoklch(47.71% 0.146 142.9)
XYZxyz(6.3353, 11.8477, 2.8169)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187018 #701870
analogous
#447018 #187018 #187044
triadic
#187018 #181870 #701818
tetradic
#187018 #184470 #701870 #704418
square
#187018 #184470 #701870 #704418
split-complementary
#187018 #441870 #701844
monochromatic
#051905 #0D3E0D #187018 #23A223 #30D330

Accessibility & contrast

On white

6.23
#187018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#187018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187018
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187018#FFFFFF#000000##FFFFFF
##1870181.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187018;
/* rgb */ color: rgb(24, 112, 24);
/* oklch */ color: oklch(47.7% 0.146 142.9);
Tailwind
colors: {
  custom: {
    50: '#669a5c',
    500: '#187018',
    950: '#000000',
  },
}
SCSS
$custom: #187018;
$custom-light: #669a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187018",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.1459,
    "h": 142.9
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#187018
secondary
#A53EA5
accent
#40E8E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187018

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

Preview Lab → · Contrast checker → · Palette generator →

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