#187236#187236

#187236 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.124 H 149.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#187236
RGBrgb(24, 114, 54)
HSLhsl(140, 65%, 27%)
HSVhsv(140, 79%, 45%)
CMYKcmyk(78.9%, 0%, 52.6%, 55.3%)
CIE-LABlab(41.99, -39.79, 25.92)
CIE-LCHlch(41.99, 47.49, 146.91°)
OKLaboklab(48.66% -0.1069 0.0629)
OKLCHoklch(48.66% 0.124 149.6)
XYZxyz(7.0593, 12.4943, 5.5289)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187236 #721854
analogous
#277218 #187236 #187263
triadic
#187236 #361872 #723618
tetradic
#187236 #182772 #721854 #726318
square
#187236 #182772 #721854 #726318
split-complementary
#187236 #631872 #721827
monochromatic
#05190C #0D3F1E #187236 #23A54E #31D467

Accessibility & contrast

On white

6.00
#187236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#187236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187236
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187236#FFFFFF#000000##FFFFFF
##1872361.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736731
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187236;
/* rgb */ color: rgb(24, 114, 54);
/* oklch */ color: oklch(48.7% 0.124 149.6);
Tailwind
colors: {
  custom: {
    50: '#659b6e',
    500: '#187236',
    950: '#000000',
  },
}
SCSS
$custom: #187236;
$custom-light: #659b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#187236",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 140,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.12406,
    "h": 149.6
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#187236
secondary
#A73E84
accent
#40B0E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187236

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

Preview Lab → · Contrast checker → · Palette generator →

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