#188D1C#188D1C

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

Color values

HEX#188D1C
RGBrgb(24, 141, 28)
HSLhsl(122, 71%, 32%)
HSVhsv(122, 83%, 55%)
CMYKcmyk(83%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.07, -52.17, 47.55)
CIE-LCHlch(51.07, 70.59, 137.66°)
OKLaboklab(56.11% -0.1414 0.1063)
OKLCHoklch(56.11% 0.177 143.1)
XYZxyz(10.1105, 19.3265, 4.2959)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D1C #8D1889
analogous
#4F8D18 #188D1C #188D56
triadic
#188D1C #1C188D #8D1C18
tetradic
#188D1C #184F8D #8D1889 #8D5618
square
#188D1C #184F8D #8D1889 #8D5618
split-complementary
#188D1C #56188D #8D184F
monochromatic
#062407 #0F5912 #188D1C #21C126 #41DF46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D1C#FFFFFF#000000##000000
##188D1C1.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)
#847629
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d1c;
/* rgb */ color: rgb(24, 141, 28);
/* oklch */ color: oklch(56.1% 0.177 143.1);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#188d1c',
    950: '#000000',
  },
}
SCSS
$custom: #188d1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#188d1c",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 122.051,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.17694,
    "h": 143.1
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#188D1C
secondary
#BF42BB
accent
#3AE8EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #188D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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