#187B22#187B22

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

Color values

HEX#187B22
RGBrgb(24, 123, 34)
HSLhsl(126, 67%, 29%)
HSVhsv(126, 80%, 48%)
CMYKcmyk(80.5%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.91, -45.73, 39.09)
CIE-LCHlch(44.91, 60.16, 139.48°)
OKLaboklab(51% -0.1236 0.0895)
OKLCHoklch(51% 0.153 144.1)
XYZxyz(7.7479, 14.4747, 3.8986)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B22 #7B1871
analogous
#407B18 #187B22 #187B54
triadic
#187B22 #22187B #7B2218
tetradic
#187B22 #18407B #7B1871 #7B5418
square
#187B22 #18407B #7B1871 #7B5418
split-complementary
#187B22 #54187B #7B1840
monochromatic
#051A07 #0E4814 #187B22 #22AE30 #36D846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B22#FFFFFF#000000##FFFFFF
##187B221.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)
#7D6F15
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b22;
/* rgb */ color: rgb(24, 123, 34);
/* oklch */ color: oklch(51.0% 0.153 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a262',
    500: '#187b22',
    950: '#000000',
  },
}
SCSS
$custom: #187b22;
$custom-light: #68a262;
$custom-dark: #000000;
JSON
{
  "hex": "#187b22",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 126.061,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.15264,
    "h": 144.1
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#187B22
secondary
#B03FA4
accent
#3ED9EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187B22

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

Preview Lab → · Contrast checker → · Palette generator →

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