#188F1B#188F1B

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

Color values

HEX#188F1B
RGBrgb(24, 143, 27)
HSLhsl(122, 71%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(83.2%, 0%, 81.1%, 43.9%)
CIE-LABlab(51.74, -52.88, 48.52)
CIE-LCHlch(51.74, 71.76, 137.46°)
OKLaboklab(56.68% -0.1434 0.1082)
OKLCHoklch(56.68% 0.18 143)
XYZxyz(10.3963, 19.9170, 4.3331)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F1B #8F188C
analogous
#508F18 #188F1B #188F57
triadic
#188F1B #1B188F #8F1B18
tetradic
#188F1B #18508F #8F188C #8F5718
square
#188F1B #18508F #8F188C #8F5718
split-complementary
#188F1B #57188F #8F1850
monochromatic
#062607 #0F5B11 #188F1B #21C325 #42DF46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188F1B#FFFFFF#000000##000000
##188F1B1.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: #188f1b;
/* rgb */ color: rgb(24, 143, 27);
/* oklch */ color: oklch(56.7% 0.180 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb162',
    500: '#188f1b',
    950: '#000000',
  },
}
SCSS
$custom: #188f1b;
$custom-light: #6eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#188f1b",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 121.513,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.17963,
    "h": 143
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#188F1B
secondary
#C043BD
accent
#3AE9EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #188F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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