#187B25#187B25

#187B25 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.150 H 144.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#187B25
RGBrgb(24, 123, 37)
HSLhsl(128, 67%, 29%)
HSVhsv(128, 80%, 48%)
CMYKcmyk(80.5%, 0%, 69.9%, 51.8%)
CIE-LABlab(44.93, -45.42, 37.82)
CIE-LCHlch(44.93, 59.10, 140.22°)
OKLaboklab(51.03% -0.1227 0.0872)
OKLCHoklch(51.03% 0.151 144.6)
XYZxyz(7.7930, 14.4928, 4.1366)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B25 #7B186E
analogous
#3D7B18 #187B25 #187B57
triadic
#187B25 #25187B #7B2518
tetradic
#187B25 #183D7B #7B186E #7B5718
square
#187B25 #183D7B #7B186E #7B5718
split-complementary
#187B25 #57187B #7B183D
monochromatic
#051A08 #0E4816 #187B25 #22AE34 #36D84B

Accessibility & contrast

On white

5.39
#187B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B25
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B25#FFFFFF#000000##FFFFFF
##187B251.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b25;
/* rgb */ color: rgb(24, 123, 37);
/* oklch */ color: oklch(51.0% 0.150 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a264',
    500: '#187b25',
    950: '#000000',
  },
}
SCSS
$custom: #187b25;
$custom-light: #68a264;
$custom-dark: #000000;
JSON
{
  "hex": "#187b25",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 127.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.1505,
    "h": 144.6
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#187B25
secondary
#B03FA1
accent
#3ED4EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B25

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

Preview Lab → · Contrast checker → · Palette generator →

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