#187F39#187F39

#187F39 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.139 H 148.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#187F39
RGBrgb(24, 127, 57)
HSLhsl(139, 68%, 30%)
HSVhsv(139, 81%, 50%)
CMYKcmyk(81.1%, 0%, 55.1%, 50.2%)
CIE-LABlab(46.53, -44.18, 29.91)
CIE-LCHlch(46.53, 53.35, 145.90°)
OKLaboklab(52.43% -0.1187 0.072)
OKLCHoklch(52.43% 0.139 148.8)
XYZxyz(8.7039, 15.6673, 6.4355)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F39 #7F185E
analogous
#2B7F18 #187F39 #187F6D
triadic
#187F39 #39187F #7F3918
tetradic
#187F39 #182B7F #7F185E #7F6D18
square
#187F39 #182B7F #7F185E #7F6D18
split-complementary
#187F39 #6D187F #7F182B
monochromatic
#051A0C #0E4C22 #187F39 #22B250 #38D96C

Accessibility & contrast

On white

5.08
#187F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F39
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F39#FFFFFF#000000##FFFFFF
##187F391.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756B3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f39;
/* rgb */ color: rgb(24, 127, 57);
/* oklch */ color: oklch(52.4% 0.139 148.8);
Tailwind
colors: {
  custom: {
    50: '#68a571',
    500: '#187f39',
    950: '#000000',
  },
}
SCSS
$custom: #187f39;
$custom-light: #68a571;
$custom-dark: #000000;
JSON
{
  "hex": "#187f39",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 139.223,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.13878,
    "h": 148.8
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#187F39
secondary
#B33F8E
accent
#3DB3EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F39

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

Preview Lab → · Contrast checker → · Palette generator →

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