#187730#187730

#187730 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.136 H 147.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#187730
RGBrgb(24, 119, 48)
HSLhsl(135, 66%, 28%)
HSVhsv(135, 80%, 47%)
CMYKcmyk(79.8%, 0%, 59.7%, 53.3%)
CIE-LABlab(43.65, -42.61, 31.11)
CIE-LCHlch(43.65, 52.76, 143.87°)
OKLaboklab(50.01% -0.1146 0.0739)
OKLCHoklch(50.01% 0.136 147.2)
XYZxyz(7.5064, 13.6004, 5.0253)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187730 #77185F
analogous
#2F7718 #187730 #18775F
triadic
#187730 #301877 #773018
tetradic
#187730 #182F77 #77185F #775F18
square
#187730 #182F77 #77185F #775F18
split-complementary
#187730 #5F1877 #77182F
monochromatic
#05190A #0E441B #187730 #22AA45 #33D65D

Accessibility & contrast

On white

5.64
#187730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#187730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187730
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187730#FFFFFF#000000##FFFFFF
##1877301.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C29
Deuteranopia (green-blind)
#6E6436
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187730;
/* rgb */ color: rgb(24, 119, 48);
/* oklch */ color: oklch(50.0% 0.136 147.2);
Tailwind
colors: {
  custom: {
    50: '#669f6a',
    500: '#187730',
    950: '#000000',
  },
}
SCSS
$custom: #187730;
$custom-light: #669f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#187730",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 48
  },
  "hsl": {
    "h": 135.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.13641,
    "h": 147.2
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#187730
secondary
#AC3F90
accent
#3EBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187730

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

Preview Lab → · Contrast checker → · Palette generator →

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