#188B28#188B28

#188B28 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.168 H 144.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#188B28
RGBrgb(24, 139, 40)
HSLhsl(128, 71%, 32%)
HSVhsv(128, 83%, 55%)
CMYKcmyk(82.7%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.47, -50.51, 42.45)
CIE-LCHlch(50.47, 65.98, 139.96°)
OKLaboklab(55.64% -0.1364 0.0973)
OKLCHoklch(55.64% 0.168 144.5)
XYZxyz(9.9916, 18.8114, 5.1114)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B28 #8B187B
analogous
#428B18 #188B28 #188B62
triadic
#188B28 #28188B #8B2818
tetradic
#188B28 #18428B #8B187B #8B6218
square
#188B28 #18428B #8B187B #8B6218
split-complementary
#188B28 #62188B #8B1842
monochromatic
#06230A #0F5719 #188B28 #21BF37 #3FDE56

Accessibility & contrast

On white

4.41
#188B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#188B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B28
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B28#FFFFFF#000000##000000
##188B281.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D19
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b28;
/* rgb */ color: rgb(24, 139, 40);
/* oklch */ color: oklch(55.6% 0.168 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cae68',
    500: '#188b28',
    950: '#000000',
  },
}
SCSS
$custom: #188b28;
$custom-light: #6cae68;
$custom-dark: #000000;
JSON
{
  "hex": "#188b28",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 128.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.16753,
    "h": 144.5
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#188B28
secondary
#BE40AD
accent
#3AD4ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188B28

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

Preview Lab → · Contrast checker → · Palette generator →

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