#188D1D#188D1D

#188D1D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.176 H 143.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#188D1D
RGBrgb(24, 141, 29)
HSLhsl(123, 71%, 32%)
HSVhsv(123, 83%, 55%)
CMYKcmyk(83%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.07, -52.10, 47.22)
CIE-LCHlch(51.07, 70.32, 137.81°)
OKLaboklab(56.12% -0.1412 0.1058)
OKLCHoklch(56.12% 0.176 143.2)
XYZxyz(10.1227, 19.3314, 4.3600)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D1D #8D1888
analogous
#4E8D18 #188D1D #188D57
triadic
#188D1D #1D188D #8D1D18
tetradic
#188D1D #184E8D #8D1888 #8D5718
square
#188D1D #184E8D #8D1888 #8D5718
split-complementary
#188D1D #57188D #8D184E
monochromatic
#062407 #0F5912 #188D1D #21C128 #41DF48

Accessibility & contrast

On white

4.32
#188D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#188D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D1D#FFFFFF#000000##000000
##188D1D1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d1d;
/* rgb */ color: rgb(24, 141, 29);
/* oklch */ color: oklch(56.1% 0.176 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#188d1d',
    950: '#000000',
  },
}
SCSS
$custom: #188d1d;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#188d1d",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 122.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.17643,
    "h": 143.2
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#188D1D
secondary
#BF42BA
accent
#3AE6EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#188D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva