#187945#187945

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

Color values

HEX#187945
RGBrgb(24, 121, 69)
HSLhsl(148, 67%, 28%)
HSVhsv(148, 80%, 47%)
CMYKcmyk(80.2%, 0%, 43%, 52.5%)
CIE-LABlab(44.66, -39.73, 20.98)
CIE-LCHlch(44.66, 44.93, 152.16°)
OKLaboklab(50.94% -0.107 0.0521)
OKLCHoklch(50.94% 0.119 154)
XYZxyz(8.2875, 14.2976, 7.9520)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187945 #79184C
analogous
#1B7918 #187945 #187975
triadic
#187945 #451879 #794518
tetradic
#187945 #181B79 #79184C #797518
square
#187945 #181B79 #79184C #797518
split-complementary
#187945 #751879 #79181B
monochromatic
#051A0F #0E4628 #187945 #22AC62 #35D780

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187945#FFFFFF#000000##FFFFFF
##1879451.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)
#796E41
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187945;
/* rgb */ color: rgb(24, 121, 69);
/* oklch */ color: oklch(50.9% 0.119 154.0);
Tailwind
colors: {
  custom: {
    50: '#66a179',
    500: '#187945',
    950: '#000000',
  },
}
SCSS
$custom: #187945;
$custom-light: #66a179;
$custom-dark: #000000;
JSON
{
  "hex": "#187945",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 147.835,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.11898,
    "h": 154
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#187945
secondary
#AE3F7A
accent
#3E9AEA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187945

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

Preview Lab → · Contrast checker → · Palette generator →

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