#187946#187946

#187946 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.118 H 154.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#187946
RGBrgb(24, 121, 70)
HSLhsl(148, 67%, 28%)
HSVhsv(148, 80%, 47%)
CMYKcmyk(80.2%, 0%, 42.1%, 52.5%)
CIE-LABlab(44.67, -39.53, 20.44)
CIE-LCHlch(44.67, 44.50, 152.66°)
OKLaboklab(50.96% -0.1065 0.0508)
OKLCHoklch(50.96% 0.118 154.5)
XYZxyz(8.3188, 14.3101, 8.1169)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187946 #79184B
analogous
#1A7918 #187946 #187976
triadic
#187946 #461879 #794618
tetradic
#187946 #181A79 #79184B #797618
square
#187946 #181A79 #79184B #797618
split-complementary
#187946 #761879 #79181A
monochromatic
#051A0F #0E4628 #187946 #22AC64 #35D782

Accessibility & contrast

On white

5.44
#187946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#187946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187946
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187946#FFFFFF#000000##FFFFFF
##1879461.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187946;
/* rgb */ color: rgb(24, 121, 70);
/* oklch */ color: oklch(51.0% 0.118 154.5);
Tailwind
colors: {
  custom: {
    50: '#66a17a',
    500: '#187946',
    950: '#000000',
  },
}
SCSS
$custom: #187946;
$custom-light: #66a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#187946",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 148.454,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.118,
    "h": 154.5
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#187946
secondary
#AE3F79
accent
#3E98EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187946

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

Preview Lab → · Contrast checker → · Palette generator →

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