#187538#187538

#187538 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.126 H 149.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#187538
RGBrgb(24, 117, 56)
HSLhsl(141, 66%, 28%)
HSVhsv(141, 79%, 46%)
CMYKcmyk(79.5%, 0%, 52.1%, 54.1%)
CIE-LABlab(43.07, -40.60, 26.17)
CIE-LCHlch(43.07, 48.30, 147.19°)
OKLaboklab(49.56% -0.1091 0.0635)
OKLCHoklch(49.56% 0.126 149.8)
XYZxyz(7.4512, 13.2014, 5.8960)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187538 #751855
analogous
#277518 #187538 #187566
triadic
#187538 #381875 #753818
tetradic
#187538 #182775 #751855 #756618
square
#187538 #182775 #751855 #756618
split-complementary
#187538 #661875 #751827
monochromatic
#05190C #0E4220 #187538 #22A850 #32D56A

Accessibility & contrast

On white

5.77
#187538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#187538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187538
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187538#FFFFFF#000000##FFFFFF
##1875381.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A33
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187538;
/* rgb */ color: rgb(24, 117, 56);
/* oklch */ color: oklch(49.6% 0.126 149.8);
Tailwind
colors: {
  custom: {
    50: '#659e70',
    500: '#187538',
    950: '#000000',
  },
}
SCSS
$custom: #187538;
$custom-light: #659e70;
$custom-dark: #000000;
JSON
{
  "hex": "#187538",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 140.645,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.12624,
    "h": 149.8
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#187538
secondary
#AA3F85
accent
#3FAEE9
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #187538

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

Preview Lab → · Contrast checker → · Palette generator →

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