#187A25#187A25

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

Color values

HEX#187A25
RGBrgb(24, 122, 37)
HSLhsl(128, 67%, 29%)
HSVhsv(128, 80%, 48%)
CMYKcmyk(80.3%, 0%, 69.7%, 52.2%)
CIE-LABlab(44.58, -45.07, 37.44)
CIE-LCHlch(44.58, 58.60, 140.28°)
OKLaboklab(50.74% -0.1217 0.0864)
OKLCHoklch(50.74% 0.149 144.6)
XYZxyz(7.6696, 14.2459, 4.0954)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A25 #7A186D
analogous
#3C7A18 #187A25 #187A56
triadic
#187A25 #25187A #7A2518
tetradic
#187A25 #183C7A #7A186D #7A5618
square
#187A25 #183C7A #7A186D #7A5618
split-complementary
#187A25 #56187A #7A183C
monochromatic
#051A08 #0E4715 #187A25 #22AD35 #35D74B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A25#FFFFFF#000000##FFFFFF
##187A251.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)
#7C6E1A
Deuteranopia (green-blind)
#71672D
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a25;
/* rgb */ color: rgb(24, 122, 37);
/* oklch */ color: oklch(50.7% 0.149 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a164',
    500: '#187a25',
    950: '#000000',
  },
}
SCSS
$custom: #187a25;
$custom-light: #68a164;
$custom-dark: #000000;
JSON
{
  "hex": "#187a25",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 127.959,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.14927,
    "h": 144.6
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#187A25
secondary
#AF3FA0
accent
#3ED3EA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A25

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

Preview Lab → · Contrast checker → · Palette generator →

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