#188040#188040

#188040 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.134 H 150.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#188040
RGBrgb(24, 128, 64)
HSLhsl(143, 68%, 30%)
HSVhsv(143, 81%, 50%)
CMYKcmyk(81.3%, 0%, 50%, 49.8%)
CIE-LABlab(46.98, -43.38, 26.73)
CIE-LCHlch(46.98, 50.96, 148.36°)
OKLaboklab(52.83% -0.1165 0.0652)
OKLCHoklch(52.83% 0.134 150.8)
XYZxyz(9.0205, 16.0016, 7.4627)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188040 #801858
analogous
#248018 #188040 #188074
triadic
#188040 #401880 #804018
tetradic
#188040 #182480 #801858 #807418
square
#188040 #182480 #801858 #807418
split-complementary
#188040 #741880 #801824
monochromatic
#051A0D #0E4C26 #188040 #22B45A #39DA77

Accessibility & contrast

On white

5.00
#188040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#188040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188040
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188040#FFFFFF#000000##FFFFFF
##1880401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743B
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188040;
/* rgb */ color: rgb(24, 128, 64);
/* oklch */ color: oklch(52.8% 0.134 150.8);
Tailwind
colors: {
  custom: {
    50: '#68a676',
    500: '#188040',
    950: '#000000',
  },
}
SCSS
$custom: #188040;
$custom-light: #68a676;
$custom-dark: #000000;
JSON
{
  "hex": "#188040",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 143.077,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.1335,
    "h": 150.8
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#188040
secondary
#B44087
accent
#3DA8EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #188040

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

Preview Lab → · Contrast checker → · Palette generator →

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