#188D1F#188D1F

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

Color values

HEX#188D1F
RGBrgb(24, 141, 31)
HSLhsl(124, 71%, 32%)
HSVhsv(124, 83%, 55%)
CMYKcmyk(83%, 0%, 78%, 44.7%)
CIE-LABlab(51.08, -51.95, 46.54)
CIE-LCHlch(51.08, 69.75, 138.14°)
OKLaboklab(56.13% -0.1407 0.1047)
OKLCHoklch(56.13% 0.175 143.4)
XYZxyz(10.1482, 19.3416, 4.4945)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D1F #8D1886
analogous
#4B8D18 #188D1F #188D5A
triadic
#188D1F #1F188D #8D1F18
tetradic
#188D1F #184B8D #8D1886 #8D5A18
square
#188D1F #184B8D #8D1886 #8D5A18
split-complementary
#188D1F #5A188D #8D184B
monochromatic
#062408 #0F5914 #188D1F #21C12A #41DF4A

Accessibility & contrast

On white

4.31
#188D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D1F#FFFFFF#000000##000000
##188D1F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188d1f;
/* rgb */ color: rgb(24, 141, 31);
/* oklch */ color: oklch(56.1% 0.175 143.4);
Tailwind
colors: {
  custom: {
    50: '#6daf63',
    500: '#188d1f',
    950: '#000000',
  },
}
SCSS
$custom: #188d1f;
$custom-light: #6daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#188d1f",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 123.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.17536,
    "h": 143.4
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#188D1F
secondary
#BF42B8
accent
#3AE3EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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