#187F35#187F35

#187F35 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.142 H 147.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#187F35
RGBrgb(24, 127, 53)
HSLhsl(137, 68%, 30%)
HSVhsv(137, 81%, 50%)
CMYKcmyk(81.1%, 0%, 58.3%, 50.2%)
CIE-LABlab(46.48, -44.79, 31.92)
CIE-LCHlch(46.48, 55.00, 144.52°)
OKLaboklab(52.37% -0.1204 0.0761)
OKLCHoklch(52.37% 0.142 147.7)
XYZxyz(8.6080, 15.6289, 5.9305)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F35 #7F1862
analogous
#2F7F18 #187F35 #187F69
triadic
#187F35 #35187F #7F3518
tetradic
#187F35 #182F7F #7F1862 #7F6918
square
#187F35 #182F7F #7F1862 #7F6918
split-complementary
#187F35 #69187F #7F182F
monochromatic
#051A0B #0E4C20 #187F35 #22B24A #38D965

Accessibility & contrast

On white

5.09
#187F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#187F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F35
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F35#FFFFFF#000000##FFFFFF
##187F351.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732E
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f35;
/* rgb */ color: rgb(24, 127, 53);
/* oklch */ color: oklch(52.4% 0.142 147.7);
Tailwind
colors: {
  custom: {
    50: '#68a56e',
    500: '#187f35',
    950: '#000000',
  },
}
SCSS
$custom: #187f35;
$custom-light: #68a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f35",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 136.893,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52374,
    "c": 0.14242,
    "h": 147.7
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#187F35
secondary
#B33F93
accent
#3DBAEB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F35

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

Preview Lab → · Contrast checker → · Palette generator →

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