#188A28#188A28

#188A28 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.166 H 144.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#188A28
RGBrgb(24, 138, 40)
HSLhsl(128, 70%, 32%)
HSVhsv(128, 83%, 54%)
CMYKcmyk(82.6%, 0%, 71%, 45.9%)
CIE-LABlab(50.12, -50.18, 42.09)
CIE-LCHlch(50.12, 65.49, 140.01°)
OKLaboklab(55.36% -0.1355 0.0965)
OKLCHoklch(55.36% 0.166 144.5)
XYZxyz(9.8475, 18.5231, 5.0634)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A28 #8A187A
analogous
#418A18 #188A28 #188A61
triadic
#188A28 #28188A #8A2818
tetradic
#188A28 #18418A #8A187A #8A6118
square
#188A28 #18418A #8A187A #8A6118
split-complementary
#188A28 #61188A #8A1841
monochromatic
#06220A #0F5619 #188A28 #21BE37 #3FDE55

Accessibility & contrast

On white

4.46
#188A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#188A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A28
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A28#FFFFFF#000000##000000
##188A281.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C1A
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a28;
/* rgb */ color: rgb(24, 138, 40);
/* oklch */ color: oklch(55.4% 0.166 144.5);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#188a28',
    950: '#000000',
  },
}
SCSS
$custom: #188a28;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#188a28",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 128.421,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.16636,
    "h": 144.5
  },
  "luminance": 0.18524
}

Semantic roles & 50–950 ramp

primary
#188A28
secondary
#BD40AC
accent
#3BD4ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188A28

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

Preview Lab → · Contrast checker → · Palette generator →

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