#188A31#188A31

#188A31 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.160 H 146.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#188A31
RGBrgb(24, 138, 49)
HSLhsl(133, 70%, 32%)
HSVhsv(133, 83%, 54%)
CMYKcmyk(82.6%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.21, -49.18, 38.19)
CIE-LCHlch(50.21, 62.26, 142.17°)
OKLaboklab(55.45% -0.1324 0.0893)
OKLCHoklch(55.45% 0.16 146)
XYZxyz(10.0188, 18.5917, 5.9657)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A31 #8A1871
analogous
#388A18 #188A31 #188A6A
triadic
#188A31 #31188A #8A3118
tetradic
#188A31 #18388A #8A1871 #8A6A18
square
#188A31 #18388A #8A1871 #8A6A18
split-complementary
#188A31 #6A188A #8A1838
monochromatic
#06220C #0F561E #188A31 #21BE44 #3FDE62

Accessibility & contrast

On white

4.45
#188A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#188A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A31
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A31#FFFFFF#000000##000000
##188A311.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#807439
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a31;
/* rgb */ color: rgb(24, 138, 49);
/* oklch */ color: oklch(55.5% 0.160 146.0);
Tailwind
colors: {
  custom: {
    50: '#6bad6d',
    500: '#188a31',
    950: '#000000',
  },
}
SCSS
$custom: #188a31;
$custom-light: #6bad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#188a31",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 133.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.15969,
    "h": 146
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#188A31
secondary
#BD40A2
accent
#3BC6ED
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188A31

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

Preview Lab → · Contrast checker → · Palette generator →

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