#187835#187835

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

Color values

HEX#187835
RGBrgb(24, 120, 53)
HSLhsl(138, 67%, 28%)
HSVhsv(138, 80%, 47%)
CMYKcmyk(80%, 0%, 55.8%, 52.9%)
CIE-LABlab(44.07, -42.22, 29.01)
CIE-LCHlch(44.07, 51.23, 145.51°)
OKLaboklab(50.37% -0.1135 0.0697)
OKLCHoklch(50.37% 0.133 148.4)
XYZxyz(7.7351, 13.8833, 5.6395)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187835 #78185B
analogous
#2B7818 #187835 #187865
triadic
#187835 #351878 #783518
tetradic
#187835 #182B78 #78185B #786518
square
#187835 #182B78 #78185B #786518
split-complementary
#187835 #651878 #78182B
monochromatic
#051A0B #0E451E #187835 #22AB4C #34D665

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187835#FFFFFF#000000##FFFFFF
##1878351.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)
#796D2F
Deuteranopia (green-blind)
#6E653A
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187835;
/* rgb */ color: rgb(24, 120, 53);
/* oklch */ color: oklch(50.4% 0.133 148.4);
Tailwind
colors: {
  custom: {
    50: '#66a06e',
    500: '#187835',
    950: '#000000',
  },
}
SCSS
$custom: #187835;
$custom-light: #66a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#187835",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 138.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.13317,
    "h": 148.4
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#187835
secondary
#AD3F8C
accent
#3EB6EA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187835

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

Preview Lab → · Contrast checker → · Palette generator →

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