#188C1B#188C1B

#188C1B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.176 H 143.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#188C1B
RGBrgb(24, 140, 27)
HSLhsl(122, 71%, 32%)
HSVhsv(122, 83%, 55%)
CMYKcmyk(82.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.72, -51.92, 47.54)
CIE-LCHlch(50.72, 70.40, 137.52°)
OKLaboklab(55.82% -0.1408 0.1062)
OKLCHoklch(55.82% 0.176 143)
XYZxyz(9.9520, 19.0283, 4.1850)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C1B #8C1889
analogous
#4F8C18 #188C1B #188C55
triadic
#188C1B #1B188C #8C1B18
tetradic
#188C1B #184F8C #8C1889 #8C5518
square
#188C1B #184F8C #8C1889 #8C5518
split-complementary
#188C1B #55188C #8C184F
monochromatic
#062407 #0F5811 #188C1B #21C025 #40DE44

Accessibility & contrast

On white

4.37
#188C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#188C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C1B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C1B#FFFFFF#000000##000000
##188C1B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c1b;
/* rgb */ color: rgb(24, 140, 27);
/* oklch */ color: oklch(55.8% 0.176 143.0);
Tailwind
colors: {
  custom: {
    50: '#6daf61',
    500: '#188c1b',
    950: '#000000',
  },
}
SCSS
$custom: #188c1b;
$custom-light: #6daf61;
$custom-dark: #000000;
JSON
{
  "hex": "#188c1b",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 121.552,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.17634,
    "h": 143
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#188C1B
secondary
#BF41BC
accent
#3AE9ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #188C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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