#188828#188828

#188828 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.8% C 0.164 H 144.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#188828
RGBrgb(24, 136, 40)
HSLhsl(129, 70%, 31%)
HSVhsv(129, 82%, 53%)
CMYKcmyk(82.4%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.44, -49.52, 41.36)
CIE-LCHlch(49.44, 64.52, 140.13°)
OKLaboklab(54.79% -0.1337 0.095)
OKLCHoklch(54.79% 0.164 144.6)
XYZxyz(9.5632, 17.9545, 4.9686)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188828 #881878
analogous
#408818 #188828 #188860
triadic
#188828 #281888 #882818
tetradic
#188828 #184088 #881878 #886018
square
#188828 #184088 #881878 #886018
split-complementary
#188828 #601888 #881840
monochromatic
#062009 #0F5419 #188828 #21BC37 #3EDD54

Accessibility & contrast

On white

4.57
#188828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#188828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188828
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188828#FFFFFF#000000##000000
##1888281.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #188828;
/* rgb */ color: rgb(24, 136, 40);
/* oklch */ color: oklch(54.8% 0.164 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bac67',
    500: '#188828',
    950: '#000000',
  },
}
SCSS
$custom: #188828;
$custom-light: #6bac67;
$custom-dark: #000000;
JSON
{
  "hex": "#188828",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 128.571,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.164,
    "h": 144.6
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#188828
secondary
#BC40AA
accent
#3BD3ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188828

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

Preview Lab → · Contrast checker → · Palette generator →

#188828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva