#188A21#188A21

#188A21 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.171 H 143.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#188A21
RGBrgb(24, 138, 33)
HSLhsl(125, 70%, 32%)
HSVhsv(125, 83%, 54%)
CMYKcmyk(82.6%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.07, -50.83, 44.81)
CIE-LCHlch(50.07, 67.76, 138.60°)
OKLaboklab(55.3% -0.1375 0.1013)
OKLCHoklch(55.3% 0.171 143.6)
XYZxyz(9.7390, 18.4798, 4.4922)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A21 #8A1881
analogous
#488A18 #188A21 #188A5A
triadic
#188A21 #21188A #8A2118
tetradic
#188A21 #18488A #8A1881 #8A5A18
square
#188A21 #18488A #8A1881 #8A5A18
split-complementary
#188A21 #5A188A #8A1848
monochromatic
#062208 #0F5615 #188A21 #21BE2D #3FDE4B

Accessibility & contrast

On white

4.47
#188A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#188A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A21
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A21#FFFFFF#000000##000000
##188A211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a21;
/* rgb */ color: rgb(24, 138, 33);
/* oklch */ color: oklch(55.3% 0.171 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cad64',
    500: '#188a21',
    950: '#000000',
  },
}
SCSS
$custom: #188a21;
$custom-light: #6cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#188a21",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 124.737,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.17083,
    "h": 143.6
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#188A21
secondary
#BD40B4
accent
#3BDFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188A21

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

Preview Lab → · Contrast checker → · Palette generator →

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