#188540#188540

#188540 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.140 H 150.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#188540
RGBrgb(24, 133, 64)
HSLhsl(142, 69%, 31%)
HSVhsv(142, 82%, 52%)
CMYKcmyk(82%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.68, -45.24, 28.87)
CIE-LCHlch(48.68, 53.67, 147.46°)
OKLaboklab(54.25% -0.1214 0.07)
OKLCHoklch(54.25% 0.14 150)
XYZxyz(9.6888, 17.3382, 7.6855)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188540 #85185D
analogous
#278518 #188540 #188576
triadic
#188540 #401885 #854018
tetradic
#188540 #182785 #85185D #857618
square
#188540 #182785 #85185D #857618
split-complementary
#188540 #761885 #851827
monochromatic
#051D0E #0F5127 #188540 #21B959 #3CDC76

Accessibility & contrast

On white

4.70
#188540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#188540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188540
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188540#FFFFFF#000000##FFFFFF
##1885401.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #188540;
/* rgb */ color: rgb(24, 133, 64);
/* oklch */ color: oklch(54.2% 0.140 150.0);
Tailwind
colors: {
  custom: {
    50: '#69a976',
    500: '#188540',
    950: '#000000',
  },
}
SCSS
$custom: #188540;
$custom-light: #69a976;
$custom-dark: #000000;
JSON
{
  "hex": "#188540",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 142.018,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.14019,
    "h": 150
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#188540
secondary
#B9408C
accent
#3CABEC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071008
muted
#7A7F7B

Preview Lab

Preview with #188540

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

Preview Lab → · Contrast checker → · Palette generator →

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