#187938#187938

#187938 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.132 H 149.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#187938
RGBrgb(24, 121, 56)
HSLhsl(140, 67%, 28%)
HSVhsv(140, 80%, 47%)
CMYKcmyk(80.2%, 0%, 53.7%, 52.5%)
CIE-LABlab(44.45, -42.11, 27.89)
CIE-LCHlch(44.45, 50.51, 146.49°)
OKLaboklab(50.7% -0.1131 0.0674)
OKLCHoklch(50.7% 0.132 149.2)
XYZxyz(7.9272, 14.1535, 6.0547)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187938 #791859
analogous
#287918 #187938 #187968
triadic
#187938 #381879 #793818
tetradic
#187938 #182879 #791859 #796818
square
#187938 #182879 #791859 #796818
split-complementary
#187938 #681879 #791828
monochromatic
#051A0C #0E4620 #187938 #22AC50 #35D76A

Accessibility & contrast

On white

5.48
#187938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#187938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187938
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187938#FFFFFF#000000##FFFFFF
##1879381.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E32
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187938;
/* rgb */ color: rgb(24, 121, 56);
/* oklch */ color: oklch(50.7% 0.132 149.2);
Tailwind
colors: {
  custom: {
    50: '#66a170',
    500: '#187938',
    950: '#000000',
  },
}
SCSS
$custom: #187938;
$custom-light: #66a170;
$custom-dark: #000000;
JSON
{
  "hex": "#187938",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 139.794,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.13169,
    "h": 149.2
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#187938
secondary
#AE3F89
accent
#3EB1EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187938

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

Preview Lab → · Contrast checker → · Palette generator →

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