#187834#187834

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

Color values

HEX#187834
RGBrgb(24, 120, 52)
HSLhsl(138, 67%, 28%)
HSVhsv(138, 80%, 47%)
CMYKcmyk(80%, 0%, 56.7%, 52.9%)
CIE-LABlab(44.05, -42.38, 29.52)
CIE-LCHlch(44.05, 51.65, 145.14°)
OKLaboklab(50.35% -0.1139 0.0707)
OKLCHoklch(50.35% 0.134 148.2)
XYZxyz(7.7124, 13.8741, 5.5197)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187834 #78185C
analogous
#2C7818 #187834 #187864
triadic
#187834 #341878 #783418
tetradic
#187834 #182C78 #78185C #786418
square
#187834 #182C78 #78185C #786418
split-complementary
#187834 #641878 #78182C
monochromatic
#051A0B #0E451E #187834 #22AB4A #34D663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187834#FFFFFF#000000##FFFFFF
##1878341.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)
#796D2E
Deuteranopia (green-blind)
#6E6539
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187834;
/* rgb */ color: rgb(24, 120, 52);
/* oklch */ color: oklch(50.4% 0.134 148.2);
Tailwind
colors: {
  custom: {
    50: '#66a06d',
    500: '#187834',
    950: '#000000',
  },
}
SCSS
$custom: #187834;
$custom-light: #66a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#187834",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 52
  },
  "hsl": {
    "h": 137.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.1341,
    "h": 148.2
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#187834
secondary
#AD3F8D
accent
#3EB8EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187834

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

Preview Lab → · Contrast checker → · Palette generator →

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