#188B21#188B21

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

Color values

HEX#188B21
RGBrgb(24, 139, 33)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(82.7%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.41, -51.15, 45.15)
CIE-LCHlch(50.41, 68.23, 138.56°)
OKLaboklab(55.58% -0.1384 0.102)
OKLCHoklch(55.58% 0.172 143.6)
XYZxyz(9.8832, 18.7680, 4.5403)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B21 #8B1882
analogous
#488B18 #188B21 #188B5B
triadic
#188B21 #21188B #8B2118
tetradic
#188B21 #18488B #8B1882 #8B5B18
square
#188B21 #18488B #8B1882 #8B5B18
split-complementary
#188B21 #5B188B #8B1848
monochromatic
#062308 #0F5715 #188B21 #21BF2D #3FDE4C

Accessibility & contrast

On white

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

On black

4.75
#188B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B21
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B21#FFFFFF#000000##000000
##188B211.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188b21;
/* rgb */ color: rgb(24, 139, 33);
/* oklch */ color: oklch(55.6% 0.172 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cae64',
    500: '#188b21',
    950: '#000000',
  },
}
SCSS
$custom: #188b21;
$custom-light: #6cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#188b21",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 124.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.17198,
    "h": 143.6
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#188B21
secondary
#BE40B4
accent
#3ADFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188B21

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

Preview Lab → · Contrast checker → · Palette generator →

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