#188F1A#188F1A

#188F1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.180 H 142.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#188F1A
RGBrgb(24, 143, 26)
HSLhsl(121, 71%, 33%)
HSVhsv(121, 83%, 56%)
CMYKcmyk(83.2%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.74, -52.94, 48.82)
CIE-LCHlch(51.74, 72.02, 137.32°)
OKLaboklab(56.67% -0.1436 0.1087)
OKLCHoklch(56.67% 0.18 142.9)
XYZxyz(10.3849, 19.9124, 4.2732)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F1A #8F188D
analogous
#528F18 #188F1A #188F55
triadic
#188F1A #1A188F #8F1A18
tetradic
#188F1A #18528F #8F188D #8F5518
square
#188F1A #18528F #8F188D #8F5518
split-complementary
#188F1A #55188F #8F1852
monochromatic
#062607 #0F5B10 #188F1A #21C324 #42DF45

Accessibility & contrast

On white

4.21
#188F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#188F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F1A#FFFFFF#000000##000000
##188F1A1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f1a;
/* rgb */ color: rgb(24, 143, 26);
/* oklch */ color: oklch(56.7% 0.180 142.9);
Tailwind
colors: {
  custom: {
    50: '#6eb161',
    500: '#188f1a',
    950: '#000000',
  },
}
SCSS
$custom: #188f1a;
$custom-light: #6eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#188f1a",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 121.008,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.18011,
    "h": 142.9
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#188F1A
secondary
#C043BE
accent
#3AEBEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #188F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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