#188D23#188D23

#188D23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.173 H 143.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#188D23
RGBrgb(24, 141, 35)
HSLhsl(126, 71%, 32%)
HSVhsv(126, 83%, 55%)
CMYKcmyk(83%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.11, -51.63, 45.11)
CIE-LCHlch(51.11, 68.56, 138.86°)
OKLaboklab(56.16% -0.1396 0.1022)
OKLCHoklch(56.16% 0.173 143.8)
XYZxyz(10.2042, 19.3640, 4.7896)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D23 #8D1882
analogous
#488D18 #188D23 #188D5E
triadic
#188D23 #23188D #8D2318
tetradic
#188D23 #18488D #8D1882 #8D5E18
square
#188D23 #18488D #8D1882 #8D5E18
split-complementary
#188D23 #5E188D #8D1848
monochromatic
#062409 #0F5916 #188D23 #21C130 #41DF50

Accessibility & contrast

On white

4.31
#188D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#188D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D23#FFFFFF#000000##000000
##188D231.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d23;
/* rgb */ color: rgb(24, 141, 35);
/* oklch */ color: oklch(56.2% 0.173 143.8);
Tailwind
colors: {
  custom: {
    50: '#6daf65',
    500: '#188d23',
    950: '#000000',
  },
}
SCSS
$custom: #188d23;
$custom-light: #6daf65;
$custom-dark: #000000;
JSON
{
  "hex": "#188d23",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 125.641,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.17305,
    "h": 143.8
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#188D23
secondary
#BF42B3
accent
#3ADDEE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188D23

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

Preview Lab → · Contrast checker → · Palette generator →

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