#187A46#187A46

#187A46 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.2% C 0.119 H 154.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187A46
RGBrgb(24, 122, 70)
HSLhsl(148, 67%, 29%)
HSVhsv(148, 80%, 48%)
CMYKcmyk(80.3%, 0%, 42.6%, 52.2%)
CIE-LABlab(45.02, -39.93, 20.89)
CIE-LCHlch(45.02, 45.07, 152.38°)
OKLaboklab(51.24% -0.1075 0.0519)
OKLCHoklch(51.24% 0.119 154.2)
XYZxyz(8.4409, 14.5544, 8.1576)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A46 #7A184C
analogous
#1B7A18 #187A46 #187A77
triadic
#187A46 #46187A #7A4618
tetradic
#187A46 #181B7A #7A184C #7A7718
square
#187A46 #181B7A #7A184C #7A7718
split-complementary
#187A46 #77187A #7A181B
monochromatic
#051A0F #0E4729 #187A46 #22AD63 #35D781

Accessibility & contrast

On white

5.37
#187A46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187A46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A46
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A46#FFFFFF#000000##FFFFFF
##187A461.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F42
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a46;
/* rgb */ color: rgb(24, 122, 70);
/* oklch */ color: oklch(51.2% 0.119 154.2);
Tailwind
colors: {
  custom: {
    50: '#66a17a',
    500: '#187a46',
    950: '#000000',
  },
}
SCSS
$custom: #187a46;
$custom-light: #66a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#187a46",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 70
  },
  "hsl": {
    "h": 148.163,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.11939,
    "h": 154.2
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#187A46
secondary
#AF3F7A
accent
#3E99EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187A46

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

Preview Lab → · Contrast checker → · Palette generator →

#187A46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva