#187F24#187F24

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

Color values

HEX#187F24
RGBrgb(24, 127, 36)
HSLhsl(127, 68%, 30%)
HSVhsv(127, 81%, 50%)
CMYKcmyk(81.1%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.31, -46.90, 39.73)
CIE-LCHlch(46.31, 61.46, 139.73°)
OKLaboklab(52.18% -0.1267 0.0911)
OKLCHoklch(52.18% 0.156 144.3)
XYZxyz(8.2839, 15.4993, 4.2238)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F24 #7F1873
analogous
#407F18 #187F24 #187F57
triadic
#187F24 #24187F #7F2418
tetradic
#187F24 #18407F #7F1873 #7F5718
square
#187F24 #18407F #7F1873 #7F5718
split-complementary
#187F24 #57187F #7F1840
monochromatic
#051A07 #0E4C15 #187F24 #22B233 #38D94B

Accessibility & contrast

On white

5.12
#187F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F24
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F24#FFFFFF#000000##FFFFFF
##187F241.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f24;
/* rgb */ color: rgb(24, 127, 36);
/* oklch */ color: oklch(52.2% 0.156 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a564',
    500: '#187f24',
    950: '#000000',
  },
}
SCSS
$custom: #187f24;
$custom-light: #69a564;
$custom-dark: #000000;
JSON
{
  "hex": "#187f24",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 126.99,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.15606,
    "h": 144.3
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#187F24
secondary
#B33FA6
accent
#3DD7EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F24

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

Preview Lab → · Contrast checker → · Palette generator →

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