#188628#188628

#188628 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.162 H 144.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#188628
RGBrgb(24, 134, 40)
HSLhsl(129, 70%, 31%)
HSVhsv(129, 82%, 53%)
CMYKcmyk(82.1%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.76, -48.85, 40.63)
CIE-LCHlch(48.76, 63.54, 140.25°)
OKLaboklab(54.22% -0.1319 0.0935)
OKLCHoklch(54.22% 0.162 144.7)
XYZxyz(9.2841, 17.3965, 4.8756)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188628 #861876
analogous
#3F8618 #188628 #18865F
triadic
#188628 #281886 #862818
tetradic
#188628 #183F86 #861876 #865F18
square
#188628 #183F86 #861876 #865F18
split-complementary
#188628 #5F1886 #86183F
monochromatic
#051E09 #0F5219 #188628 #21BA37 #3CDC54

Accessibility & contrast

On white

4.69
#188628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#188628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188628
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188628#FFFFFF#000000##FFFFFF
##1886281.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #188628;
/* rgb */ color: rgb(24, 134, 40);
/* oklch */ color: oklch(54.2% 0.162 144.7);
Tailwind
colors: {
  custom: {
    50: '#6baa67',
    500: '#188628',
    950: '#000000',
  },
}
SCSS
$custom: #188628;
$custom-light: #6baa67;
$custom-dark: #000000;
JSON
{
  "hex": "#188628",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 128.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.16162,
    "h": 144.7
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#188628
secondary
#BA40A8
accent
#3BD3EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188628

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

Preview Lab → · Contrast checker → · Palette generator →

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