#188F1D#188F1D

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

Color values

HEX#188F1D
RGBrgb(24, 143, 29)
HSLhsl(123, 71%, 33%)
HSVhsv(123, 83%, 56%)
CMYKcmyk(83.2%, 0%, 79.7%, 43.9%)
CIE-LABlab(51.75, -52.74, 47.88)
CIE-LCHlch(51.75, 71.23, 137.77°)
OKLaboklab(56.69% -0.1429 0.1072)
OKLCHoklch(56.69% 0.179 143.1)
XYZxyz(10.4202, 19.9265, 4.4592)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F1D #8F188A
analogous
#4E8F18 #188F1D #188F58
triadic
#188F1D #1D188F #8F1D18
tetradic
#188F1D #184E8F #8F188A #8F5818
square
#188F1D #184E8F #8F188A #8F5818
split-complementary
#188F1D #58188F #8F184E
monochromatic
#062608 #0F5B12 #188F1D #21C328 #42DF49

Accessibility & contrast

On white

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

On black

4.99
#188F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F1D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F1D#FFFFFF#000000##000000
##188F1D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188f1d;
/* rgb */ color: rgb(24, 143, 29);
/* oklch */ color: oklch(56.7% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#188f1d',
    950: '#000000',
  },
}
SCSS
$custom: #188f1d;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#188f1d",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 122.521,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56687,
    "c": 0.17863,
    "h": 143.1
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#188F1D
secondary
#C043BB
accent
#3AE6EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #188F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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