#187F38#187F38

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

Color values

HEX#187F38
RGBrgb(24, 127, 56)
HSLhsl(139, 68%, 30%)
HSVhsv(139, 81%, 50%)
CMYKcmyk(81.1%, 0%, 55.9%, 50.2%)
CIE-LABlab(46.52, -44.33, 30.42)
CIE-LCHlch(46.52, 53.77, 145.55°)
OKLaboklab(52.42% -0.1191 0.073)
OKLCHoklch(52.42% 0.14 148.5)
XYZxyz(8.6792, 15.6574, 6.3054)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F38 #7F185F
analogous
#2B7F18 #187F38 #187F6C
triadic
#187F38 #38187F #7F3818
tetradic
#187F38 #182B7F #7F185F #7F6C18
square
#187F38 #182B7F #7F185F #7F6C18
split-complementary
#187F38 #6C187F #7F182B
monochromatic
#051A0B #0E4C21 #187F38 #22B24F #38D96A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F38#FFFFFF#000000##FFFFFF
##187F381.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)
#807332
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f38;
/* rgb */ color: rgb(24, 127, 56);
/* oklch */ color: oklch(52.4% 0.140 148.5);
Tailwind
colors: {
  custom: {
    50: '#68a570',
    500: '#187f38',
    950: '#000000',
  },
}
SCSS
$custom: #187f38;
$custom-light: #68a570;
$custom-dark: #000000;
JSON
{
  "hex": "#187f38",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 138.641,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.1397,
    "h": 148.5
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#187F38
secondary
#B33F8F
accent
#3DB5EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F38

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

Preview Lab → · Contrast checker → · Palette generator →

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