#187F2A#187F2A

#187F2A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.152 H 145.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#187F2A
RGBrgb(24, 127, 42)
HSLhsl(130, 68%, 30%)
HSVhsv(130, 81%, 50%)
CMYKcmyk(81.1%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.36, -46.24, 37.13)
CIE-LCHlch(46.36, 59.30, 141.24°)
OKLaboklab(52.24% -0.1247 0.0863)
OKLCHoklch(52.24% 0.152 145.3)
XYZxyz(8.3834, 15.5391, 4.7476)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F2A #7F186D
analogous
#3A7F18 #187F2A #187F5D
triadic
#187F2A #2A187F #7F2A18
tetradic
#187F2A #183A7F #7F186D #7F5D18
square
#187F2A #183A7F #7F186D #7F5D18
split-complementary
#187F2A #5D187F #7F183A
monochromatic
#051A09 #0E4C19 #187F2A #22B23B #38D954

Accessibility & contrast

On white

5.11
#187F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F2A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F2A#FFFFFF#000000##FFFFFF
##187F2A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f2a;
/* rgb */ color: rgb(24, 127, 42);
/* oklch */ color: oklch(52.2% 0.152 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a567',
    500: '#187f2a',
    950: '#000000',
  },
}
SCSS
$custom: #187f2a;
$custom-light: #69a567;
$custom-dark: #000000;
JSON
{
  "hex": "#187f2a",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 130.485,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.15164,
    "h": 145.3
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#187F2A
secondary
#B33F9F
accent
#3DCDEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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