#187A35#187A35

#187A35 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.136 H 148.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#187A35
RGBrgb(24, 122, 53)
HSLhsl(138, 67%, 29%)
HSVhsv(138, 80%, 48%)
CMYKcmyk(80.3%, 0%, 56.6%, 52.2%)
CIE-LABlab(44.76, -42.96, 29.85)
CIE-LCHlch(44.76, 52.31, 145.21°)
OKLaboklab(50.94% -0.1155 0.0715)
OKLCHoklch(50.94% 0.136 148.2)
XYZxyz(7.9782, 14.3693, 5.7206)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A35 #7A185D
analogous
#2C7A18 #187A35 #187A66
triadic
#187A35 #35187A #7A3518
tetradic
#187A35 #182C7A #7A185D #7A6618
square
#187A35 #182C7A #7A185D #7A6618
split-complementary
#187A35 #66187A #7A182C
monochromatic
#051A0B #0E471F #187A35 #22AD4B #35D765

Accessibility & contrast

On white

5.42
#187A35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#187A35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A35
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A35#FFFFFF#000000##FFFFFF
##187A351.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F2F
Deuteranopia (green-blind)
#70673A
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a35;
/* rgb */ color: rgb(24, 122, 53);
/* oklch */ color: oklch(50.9% 0.136 148.2);
Tailwind
colors: {
  custom: {
    50: '#67a16e',
    500: '#187a35',
    950: '#000000',
  },
}
SCSS
$custom: #187a35;
$custom-light: #67a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#187a35",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 53
  },
  "hsl": {
    "h": 137.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.13584,
    "h": 148.2
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#187A35
secondary
#AF3F8E
accent
#3EB7EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A35

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

Preview Lab → · Contrast checker → · Palette generator →

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