#188F1C#188F1C

#188F1C 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.98:1 contrast (WCAG AA passes).

Color values

HEX#188F1C
RGBrgb(24, 143, 28)
HSLhsl(122, 71%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(83.2%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.75, -52.81, 48.20)
CIE-LCHlch(51.75, 71.50, 137.61°)
OKLaboklab(56.68% -0.1432 0.1077)
OKLCHoklch(56.68% 0.179 143.1)
XYZxyz(10.4081, 19.9217, 4.3951)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F1C #8F188B
analogous
#4F8F18 #188F1C #188F58
triadic
#188F1C #1C188F #8F1C18
tetradic
#188F1C #184F8F #8F188B #8F5818
square
#188F1C #184F8F #8F188B #8F5818
split-complementary
#188F1C #58188F #8F184F
monochromatic
#062607 #0F5B12 #188F1C #21C326 #42DF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188F1C#FFFFFF#000000##000000
##188F1C1.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)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#188F1C
secondary
#C043BC
accent
#3AE8EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #188F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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