#187D23#187D23

#187D23 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.154 H 144.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187D23
RGBrgb(24, 125, 35)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 49%)
CMYKcmyk(80.8%, 0%, 72%, 51%)
CIE-LABlab(45.61, -46.31, 39.41)
CIE-LCHlch(45.61, 60.81, 139.60°)
OKLaboklab(51.59% -0.1252 0.0903)
OKLCHoklch(51.59% 0.154 144.2)
XYZxyz(8.0131, 14.9818, 4.0592)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D23 #7D1872
analogous
#407D18 #187D23 #187D56
triadic
#187D23 #23187D #7D2318
tetradic
#187D23 #18407D #7D1872 #7D5618
square
#187D23 #18407D #7D1872 #7D5618
split-complementary
#187D23 #56187D #7D1840
monochromatic
#051A07 #0E4A15 #187D23 #22B031 #37D948

Accessibility & contrast

On white

5.25
#187D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D23
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D23#FFFFFF#000000##FFFFFF
##187D231.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7116
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d23;
/* rgb */ color: rgb(24, 125, 35);
/* oklch */ color: oklch(51.6% 0.154 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#187d23',
    950: '#000000',
  },
}
SCSS
$custom: #187d23;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#187d23",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 126.535,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.15435,
    "h": 144.2
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#187D23
secondary
#B23FA5
accent
#3DD8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187D23

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

Preview Lab → · Contrast checker → · Palette generator →

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