#187128#187128

#187128 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.136 H 145.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#187128
RGBrgb(24, 113, 40)
HSLhsl(131, 65%, 27%)
HSVhsv(131, 79%, 44%)
CMYKcmyk(78.8%, 0%, 64.6%, 55.7%)
CIE-LABlab(41.46, -41.51, 32.58)
CIE-LCHlch(41.46, 52.77, 141.88°)
OKLaboklab(48.16% -0.1119 0.0764)
OKLCHoklch(48.16% 0.136 145.7)
XYZxyz(6.6643, 12.1569, 4.0024)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187128 #711861
analogous
#347118 #187128 #187155
triadic
#187128 #281871 #712818
tetradic
#187128 #183471 #711861 #715518
square
#187128 #183471 #711861 #715518
split-complementary
#187128 #551871 #711834
monochromatic
#051909 #0D3F16 #187128 #23A33A #30D34E

Accessibility & contrast

On white

6.12
#187128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#187128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187128
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187128#FFFFFF#000000##FFFFFF
##1871281.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187128;
/* rgb */ color: rgb(24, 113, 40);
/* oklch */ color: oklch(48.2% 0.136 145.7);
Tailwind
colors: {
  custom: {
    50: '#659b65',
    500: '#187128',
    950: '#000000',
  },
}
SCSS
$custom: #187128;
$custom-light: #659b65;
$custom-dark: #000000;
JSON
{
  "hex": "#187128",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 130.787,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.13551,
    "h": 145.7
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#187128
secondary
#A63E94
accent
#40CAE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #187128

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

Preview Lab → · Contrast checker → · Palette generator →

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