#187836#187836

#187836 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.132 H 148.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#187836
RGBrgb(24, 120, 54)
HSLhsl(139, 67%, 28%)
HSVhsv(139, 80%, 47%)
CMYKcmyk(80%, 0%, 55%, 52.9%)
CIE-LABlab(44.08, -42.06, 28.50)
CIE-LCHlch(44.08, 50.81, 145.88°)
OKLaboklab(50.39% -0.113 0.0686)
OKLCHoklch(50.39% 0.132 148.7)
XYZxyz(7.7584, 13.8926, 5.7620)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187836 #78185A
analogous
#2A7818 #187836 #187866
triadic
#187836 #361878 #783618
tetradic
#187836 #182A78 #78185A #786618
square
#187836 #182A78 #78185A #786618
split-complementary
#187836 #661878 #78182A
monochromatic
#051A0B #0E451F #187836 #22AB4D #34D667

Accessibility & contrast

On white

5.56
#187836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#187836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187836
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187836#FFFFFF#000000##FFFFFF
##1878361.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D30
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187836;
/* rgb */ color: rgb(24, 120, 54);
/* oklch */ color: oklch(50.4% 0.132 148.7);
Tailwind
colors: {
  custom: {
    50: '#66a06f',
    500: '#187836',
    950: '#000000',
  },
}
SCSS
$custom: #187836;
$custom-light: #66a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#187836",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 54
  },
  "hsl": {
    "h": 138.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.13223,
    "h": 148.7
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#187836
secondary
#AD3F8B
accent
#3EB4EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187836

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

Preview Lab → · Contrast checker → · Palette generator →

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