#188E28#188E28

#188E28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.171 H 144.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#188E28
RGBrgb(24, 142, 40)
HSLhsl(128, 71%, 33%)
HSVhsv(128, 83%, 56%)
CMYKcmyk(83.1%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.49, -51.50, 43.53)
CIE-LCHlch(51.49, 67.43, 139.80°)
OKLaboklab(56.49% -0.1391 0.0996)
OKLCHoklch(56.49% 0.171 144.4)
XYZxyz(10.4320, 19.6921, 5.2582)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E28 #8E187E
analogous
#438E18 #188E28 #188E63
triadic
#188E28 #28188E #8E2818
tetradic
#188E28 #18438E #8E187E #8E6318
square
#188E28 #18438E #8E187E #8E6318
split-complementary
#188E28 #63188E #8E1843
monochromatic
#06250B #0F5A19 #188E28 #21C237 #41DF57

Accessibility & contrast

On white

4.25
#188E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#188E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E28
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E28#FFFFFF#000000##000000
##188E281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e28;
/* rgb */ color: rgb(24, 142, 40);
/* oklch */ color: oklch(56.5% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#6db068',
    500: '#188e28',
    950: '#000000',
  },
}
SCSS
$custom: #188e28;
$custom-light: #6db068;
$custom-dark: #000000;
JSON
{
  "hex": "#188e28",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 128.136,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.17103,
    "h": 144.4
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#188E28
secondary
#C042AF
accent
#3AD5EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188E28

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

Preview Lab → · Contrast checker → · Palette generator →

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