#188728#188728

#188728 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.163 H 144.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#188728
RGBrgb(24, 135, 40)
HSLhsl(129, 70%, 31%)
HSVhsv(129, 82%, 53%)
CMYKcmyk(82.2%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.10, -49.18, 40.99)
CIE-LCHlch(49.10, 64.03, 140.19°)
OKLaboklab(54.5% -0.1328 0.0942)
OKLCHoklch(54.5% 0.163 144.6)
XYZxyz(9.4230, 17.6742, 4.9219)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188728 #871877
analogous
#3F8718 #188728 #18875F
triadic
#188728 #281887 #872818
tetradic
#188728 #183F87 #871877 #875F18
square
#188728 #183F87 #871877 #875F18
split-complementary
#188728 #5F1887 #87183F
monochromatic
#061F09 #0F5319 #188728 #21BB37 #3DDC54

Accessibility & contrast

On white

4.63
#188728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#188728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #188728
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188728#FFFFFF#000000##FFFFFF
##1887281.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A1A
Deuteranopia (green-blind)
#7E7131
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188728;
/* rgb */ color: rgb(24, 135, 40);
/* oklch */ color: oklch(54.5% 0.163 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bab67',
    500: '#188728',
    950: '#000000',
  },
}
SCSS
$custom: #188728;
$custom-light: #6bab67;
$custom-dark: #000000;
JSON
{
  "hex": "#188728",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 128.649,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.16281,
    "h": 144.6
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188728

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

Preview Lab → · Contrast checker → · Palette generator →

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