#187A23#187A23

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

Color values

HEX#187A23
RGBrgb(24, 122, 35)
HSLhsl(127, 67%, 29%)
HSVhsv(127, 80%, 48%)
CMYKcmyk(80.3%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.57, -45.28, 38.30)
CIE-LCHlch(44.57, 59.31, 139.77°)
OKLaboklab(50.72% -0.1224 0.088)
OKLCHoklch(50.72% 0.151 144.3)
XYZxyz(7.6391, 14.2337, 3.9346)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A23 #7A186F
analogous
#3E7A18 #187A23 #187A54
triadic
#187A23 #23187A #7A2318
tetradic
#187A23 #183E7A #7A186F #7A5418
square
#187A23 #183E7A #7A186F #7A5418
split-complementary
#187A23 #54187A #7A183E
monochromatic
#051A07 #0E4714 #187A23 #22AD32 #35D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A23#FFFFFF#000000##FFFFFF
##187A231.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)
#7C6E16
Deuteranopia (green-blind)
#72662B
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a23;
/* rgb */ color: rgb(24, 122, 35);
/* oklch */ color: oklch(50.7% 0.151 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a163',
    500: '#187a23',
    950: '#000000',
  },
}
SCSS
$custom: #187a23;
$custom-light: #68a163;
$custom-dark: #000000;
JSON
{
  "hex": "#187a23",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 126.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.15072,
    "h": 144.3
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#187A23
secondary
#AF3FA2
accent
#3ED7EA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187A23

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

Preview Lab → · Contrast checker → · Palette generator →

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