#188042#188042

#188042 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.132 H 151.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#188042
RGBrgb(24, 128, 66)
HSLhsl(144, 68%, 30%)
HSVhsv(144, 81%, 50%)
CMYKcmyk(81.3%, 0%, 48.4%, 49.8%)
CIE-LABlab(47.01, -43.03, 25.68)
CIE-LCHlch(47.01, 50.11, 149.16°)
OKLaboklab(52.87% -0.1156 0.0629)
OKLCHoklch(52.87% 0.132 151.4)
XYZxyz(9.0784, 16.0248, 7.7678)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188042 #801856
analogous
#228018 #188042 #188076
triadic
#188042 #421880 #804218
tetradic
#188042 #182280 #801856 #807618
square
#188042 #182280 #801856 #807618
split-complementary
#188042 #761880 #801822
monochromatic
#051A0D #0E4C27 #188042 #22B45D #39DA7A

Accessibility & contrast

On white

4.99
#188042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#188042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188042
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188042#FFFFFF#000000##FFFFFF
##1880421.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188042;
/* rgb */ color: rgb(24, 128, 66);
/* oklch */ color: oklch(52.9% 0.132 151.4);
Tailwind
colors: {
  custom: {
    50: '#68a677',
    500: '#188042',
    950: '#000000',
  },
}
SCSS
$custom: #188042;
$custom-light: #68a677;
$custom-dark: #000000;
JSON
{
  "hex": "#188042",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 144.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.13157,
    "h": 151.4
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#188042
secondary
#B44085
accent
#3DA5EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #188042

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

Preview Lab → · Contrast checker → · Palette generator →

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