#188E1B#188E1B

#188E1B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.179 H 143.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#188E1B
RGBrgb(24, 142, 27)
HSLhsl(122, 71%, 33%)
HSVhsv(122, 83%, 56%)
CMYKcmyk(83.1%, 0%, 81%, 44.3%)
CIE-LABlab(51.40, -52.56, 48.19)
CIE-LCHlch(51.40, 71.31, 137.48°)
OKLaboklab(56.39% -0.1425 0.1075)
OKLCHoklch(56.39% 0.179 143)
XYZxyz(10.2469, 19.6181, 4.2833)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E1B #8E188B
analogous
#508E18 #188E1B #188E56
triadic
#188E1B #1B188E #8E1B18
tetradic
#188E1B #18508E #8E188B #8E5618
square
#188E1B #18508E #8E188B #8E5618
split-complementary
#188E1B #56188E #8E1850
monochromatic
#062507 #0F5A11 #188E1B #21C225 #41DF45

Accessibility & contrast

On white

4.26
#188E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#188E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E1B#FFFFFF#000000##000000
##188E1B1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188e1b;
/* rgb */ color: rgb(24, 142, 27);
/* oklch */ color: oklch(56.4% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#6eb061',
    500: '#188e1b',
    950: '#000000',
  },
}
SCSS
$custom: #188e1b;
$custom-light: #6eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#188e1b",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 121.525,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.17854,
    "h": 143
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#188E1B
secondary
#C042BC
accent
#3AE9EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #188E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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