#188B23#188B23

#188B23 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.171 H 143.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#188B23
RGBrgb(24, 139, 35)
HSLhsl(126, 71%, 32%)
HSVhsv(126, 83%, 55%)
CMYKcmyk(82.7%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.43, -50.98, 44.41)
CIE-LCHlch(50.43, 67.61, 138.94°)
OKLaboklab(55.6% -0.1379 0.1008)
OKLCHoklch(55.6% 0.171 143.8)
XYZxyz(9.9120, 18.7796, 4.6922)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B23 #8B1880
analogous
#478B18 #188B23 #188B5D
triadic
#188B23 #23188B #8B2318
tetradic
#188B23 #18478B #8B1880 #8B5D18
square
#188B23 #18478B #8B1880 #8B5D18
split-complementary
#188B23 #5D188B #8B1847
monochromatic
#062309 #0F5716 #188B23 #21BF30 #3FDE4F

Accessibility & contrast

On white

4.42
#188B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#188B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B23
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B23#FFFFFF#000000##000000
##188B231.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b23;
/* rgb */ color: rgb(24, 139, 35);
/* oklch */ color: oklch(55.6% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cae65',
    500: '#188b23',
    950: '#000000',
  },
}
SCSS
$custom: #188b23;
$custom-light: #6cae65;
$custom-dark: #000000;
JSON
{
  "hex": "#188b23",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 125.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.17077,
    "h": 143.8
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#188B23
secondary
#BE40B2
accent
#3ADCED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188B23

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

Preview Lab → · Contrast checker → · Palette generator →

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