#188F20#188F20

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

Color values

HEX#188F20
RGBrgb(24, 143, 32)
HSLhsl(124, 71%, 33%)
HSVhsv(124, 83%, 56%)
CMYKcmyk(83.2%, 0%, 77.6%, 43.9%)
CIE-LABlab(51.77, -52.52, 46.87)
CIE-LCHlch(51.77, 70.39, 138.25°)
OKLaboklab(56.71% -0.1422 0.1055)
OKLCHoklch(56.71% 0.177 143.4)
XYZxyz(10.4592, 19.9421, 4.6642)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F20 #8F1887
analogous
#4B8F18 #188F20 #188F5C
triadic
#188F20 #20188F #8F2018
tetradic
#188F20 #184B8F #8F1887 #8F5C18
square
#188F20 #184B8F #8F1887 #8F5C18
split-complementary
#188F20 #5C188F #8F184B
monochromatic
#062609 #0F5B14 #188F20 #21C32C #42DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188F20#FFFFFF#000000##000000
##188F201.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)
#928106
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f20;
/* rgb */ color: rgb(24, 143, 32);
/* oklch */ color: oklch(56.7% 0.177 143.4);
Tailwind
colors: {
  custom: {
    50: '#6eb164',
    500: '#188f20',
    950: '#000000',
  },
}
SCSS
$custom: #188f20;
$custom-light: #6eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#188f20",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 124.034,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.17704,
    "h": 143.4
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#188F20
secondary
#C043B8
accent
#3AE2EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188F20

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

Preview Lab → · Contrast checker → · Palette generator →

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