#187118#187118

#187118 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.0% C 0.147 H 142.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#187118
RGBrgb(24, 113, 24)
HSLhsl(120, 65%, 27%)
HSVhsv(120, 79%, 44%)
CMYKcmyk(78.8%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.33, -43.19, 39.43)
CIE-LCHlch(41.33, 58.48, 137.61°)
OKLaboklab(48% -0.1172 0.0888)
OKLCHoklch(48% 0.147 142.9)
XYZxyz(6.4463, 12.0696, 2.8539)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187118 #711871
analogous
#457118 #187118 #187145
triadic
#187118 #181871 #711818
tetradic
#187118 #184571 #711871 #714518
square
#187118 #184571 #711871 #714518
split-complementary
#187118 #451871 #711845
monochromatic
#051905 #0D3F0D #187118 #23A323 #30D330

Accessibility & contrast

On white

6.15
#187118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#187118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187118
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187118#FFFFFF#000000##FFFFFF
##1871181.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #187118;
/* rgb */ color: rgb(24, 113, 24);
/* oklch */ color: oklch(48.0% 0.147 142.9);
Tailwind
colors: {
  custom: {
    50: '#669b5c',
    500: '#187118',
    950: '#000000',
  },
}
SCSS
$custom: #187118;
$custom-light: #669b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187118",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.14709,
    "h": 142.9
  },
  "luminance": 0.1207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187118

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

Preview Lab → · Contrast checker → · Palette generator →

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