#188C1E#188C1E

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

Color values

HEX#188C1E
RGBrgb(24, 140, 30)
HSLhsl(123, 71%, 32%)
HSVhsv(123, 83%, 55%)
CMYKcmyk(82.9%, 0%, 78.6%, 45.1%)
CIE-LABlab(50.74, -51.71, 46.55)
CIE-LCHlch(50.74, 69.58, 138.01°)
OKLaboklab(55.84% -0.1401 0.1045)
OKLCHoklch(55.84% 0.175 143.3)
XYZxyz(9.9885, 19.0429, 4.3773)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C1E #8C1886
analogous
#4C8C18 #188C1E #188C58
triadic
#188C1E #1E188C #8C1E18
tetradic
#188C1E #184C8C #8C1886 #8C5818
square
#188C1E #184C8C #8C1886 #8C5818
split-complementary
#188C1E #58188C #8C184C
monochromatic
#062408 #0F5813 #188C1E #21C029 #40DE48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188C1E#FFFFFF#000000##000000
##188C1E1.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)
#8F7E03
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c1e;
/* rgb */ color: rgb(24, 140, 30);
/* oklch */ color: oklch(55.8% 0.175 143.3);
Tailwind
colors: {
  custom: {
    50: '#6daf63',
    500: '#188c1e',
    950: '#000000',
  },
}
SCSS
$custom: #188c1e;
$custom-light: #6daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#188c1e",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 123.103,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.17478,
    "h": 143.3
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#188C1E
secondary
#BF41B8
accent
#3AE4ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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