#188F28#188F28

#188F28 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.172 H 144.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#188F28
RGBrgb(24, 143, 40)
HSLhsl(128, 71%, 33%)
HSVhsv(128, 83%, 56%)
CMYKcmyk(83.2%, 0%, 72%, 43.9%)
CIE-LABlab(51.83, -51.83, 43.88)
CIE-LCHlch(51.83, 67.91, 139.75°)
OKLaboklab(56.77% -0.14 0.1003)
OKLCHoklch(56.77% 0.172 144.4)
XYZxyz(10.5814, 19.9910, 5.3080)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F28 #8F187F
analogous
#448F18 #188F28 #188F63
triadic
#188F28 #28188F #8F2818
tetradic
#188F28 #18448F #8F187F #8F6318
square
#188F28 #18448F #8F187F #8F6318
split-complementary
#188F28 #63188F #8F1844
monochromatic
#06260B #0F5B19 #188F28 #21C337 #42DF57

Accessibility & contrast

On white

4.20
#188F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#188F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F28
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F28#FFFFFF#000000##000000
##188F281.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f28;
/* rgb */ color: rgb(24, 143, 40);
/* oklch */ color: oklch(56.8% 0.172 144.4);
Tailwind
colors: {
  custom: {
    50: '#6db168',
    500: '#188f28',
    950: '#000000',
  },
}
SCSS
$custom: #188f28;
$custom-light: #6db168;
$custom-dark: #000000;
JSON
{
  "hex": "#188f28",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 128.067,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.17219,
    "h": 144.4
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#188F28
secondary
#C043AF
accent
#3AD6EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188F28

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

Preview Lab → · Contrast checker → · Palette generator →

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