#187E30#187E30

#187E30 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.145 H 146.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187E30
RGBrgb(24, 126, 48)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 49%)
CMYKcmyk(81%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.08, -45.14, 33.95)
CIE-LCHlch(46.08, 56.48, 143.05°)
OKLaboklab(52.02% -0.1215 0.0801)
OKLCHoklch(52.02% 0.145 146.6)
XYZxyz(8.3704, 15.3283, 5.3132)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E30 #7E1866
analogous
#337E18 #187E30 #187E63
triadic
#187E30 #30187E #7E3018
tetradic
#187E30 #18337E #7E1866 #7E6318
square
#187E30 #18337E #7E1866 #7E6318
split-complementary
#187E30 #63187E #7E1833
monochromatic
#051A0A #0E4B1C #187E30 #22B144 #37D95D

Accessibility & contrast

On white

5.17
#187E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#187E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E30
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E30#FFFFFF#000000##FFFFFF
##187E301.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e30;
/* rgb */ color: rgb(24, 126, 48);
/* oklch */ color: oklch(52.0% 0.145 146.6);
Tailwind
colors: {
  custom: {
    50: '#68a46b',
    500: '#187e30',
    950: '#000000',
  },
}
SCSS
$custom: #187e30;
$custom-light: #68a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#187e30",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 134.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.14549,
    "h": 146.6
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#187E30
secondary
#B23F97
accent
#3DC2EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187E30

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

Preview Lab → · Contrast checker → · Palette generator →

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