#188E1F#188E1F

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

Color values

HEX#188E1F
RGBrgb(24, 142, 31)
HSLhsl(124, 71%, 33%)
HSVhsv(124, 83%, 56%)
CMYKcmyk(83.1%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.43, -52.27, 46.88)
CIE-LCHlch(51.43, 70.22, 138.12°)
OKLaboklab(56.42% -0.1416 0.1054)
OKLCHoklch(56.42% 0.176 143.3)
XYZxyz(10.2963, 19.6379, 4.5439)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E1F #8E1887
analogous
#4C8E18 #188E1F #188E5A
triadic
#188E1F #1F188E #8E1F18
tetradic
#188E1F #184C8E #8E1887 #8E5A18
square
#188E1F #184C8E #8E1887 #8E5A18
split-complementary
#188E1F #5A188E #8E184C
monochromatic
#062508 #0F5A14 #188E1F #21C22A #41DF4B

Accessibility & contrast

On white

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

On black

4.93
#188E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E1F#FFFFFF#000000##000000
##188E1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e1f;
/* rgb */ color: rgb(24, 142, 31);
/* oklch */ color: oklch(56.4% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#188e1f',
    950: '#000000',
  },
}
SCSS
$custom: #188e1f;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#188e1f",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 123.559,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.17648,
    "h": 143.3
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#188E1F
secondary
#C042B8
accent
#3AE3EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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