#187B23#187B23

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

Color values

HEX#187B23
RGBrgb(24, 123, 35)
HSLhsl(127, 67%, 29%)
HSVhsv(127, 80%, 48%)
CMYKcmyk(80.5%, 0%, 71.5%, 51.8%)
CIE-LABlab(44.91, -45.63, 38.67)
CIE-LCHlch(44.91, 59.81, 139.72°)
OKLaboklab(51.01% -0.1233 0.0887)
OKLCHoklch(51.01% 0.152 144.3)
XYZxyz(7.7625, 14.4805, 3.9757)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B23 #7B1870
analogous
#3F7B18 #187B23 #187B55
triadic
#187B23 #23187B #7B2318
tetradic
#187B23 #183F7B #7B1870 #7B5518
square
#187B23 #183F7B #7B1870 #7B5518
split-complementary
#187B23 #55187B #7B183F
monochromatic
#051A07 #0E4814 #187B23 #22AE32 #36D848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B23#FFFFFF#000000##FFFFFF
##187B231.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)
#7D6F16
Deuteranopia (green-blind)
#73672C
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b23;
/* rgb */ color: rgb(24, 123, 35);
/* oklch */ color: oklch(51.0% 0.152 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a263',
    500: '#187b23',
    950: '#000000',
  },
}
SCSS
$custom: #187b23;
$custom-light: #68a263;
$custom-dark: #000000;
JSON
{
  "hex": "#187b23",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 126.667,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.15194,
    "h": 144.3
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#187B23
secondary
#B03FA3
accent
#3ED7EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187B23

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

Preview Lab → · Contrast checker → · Palette generator →

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