#187A24#187A24

#187A24 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.150 H 144.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#187A24
RGBrgb(24, 122, 36)
HSLhsl(127, 67%, 29%)
HSVhsv(127, 80%, 48%)
CMYKcmyk(80.3%, 0%, 70.5%, 52.2%)
CIE-LABlab(44.57, -45.18, 37.88)
CIE-LCHlch(44.57, 58.96, 140.03°)
OKLaboklab(50.73% -0.1221 0.0872)
OKLCHoklch(50.73% 0.15 144.5)
XYZxyz(7.6541, 14.2397, 4.0139)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A24 #7A186E
analogous
#3D7A18 #187A24 #187A55
triadic
#187A24 #24187A #7A2418
tetradic
#187A24 #183D7A #7A186E #7A5518
square
#187A24 #183D7A #7A186E #7A5518
split-complementary
#187A24 #55187A #7A183D
monochromatic
#051A08 #0E4715 #187A24 #22AD33 #35D749

Accessibility & contrast

On white

5.46
#187A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A24
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A24#FFFFFF#000000##FFFFFF
##187A241.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a24;
/* rgb */ color: rgb(24, 122, 36);
/* oklch */ color: oklch(50.7% 0.150 144.5);
Tailwind
colors: {
  custom: {
    50: '#68a163',
    500: '#187a24',
    950: '#000000',
  },
}
SCSS
$custom: #187a24;
$custom-light: #68a163;
$custom-dark: #000000;
JSON
{
  "hex": "#187a24",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 127.347,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.15,
    "h": 144.5
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#187A24
secondary
#AF3FA1
accent
#3ED5EA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187A24

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

Preview Lab → · Contrast checker → · Palette generator →

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