#188F12#188F12

#188F12 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.183 H 142.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#188F12
RGBrgb(24, 143, 18)
HSLhsl(117, 78%, 32%)
HSVhsv(117, 87%, 56%)
CMYKcmyk(83.2%, 0%, 87.4%, 43.9%)
CIE-LABlab(51.70, -53.38, 50.99)
CIE-LCHlch(51.70, 73.82, 136.31°)
OKLaboklab(56.63% -0.1451 0.1121)
OKLCHoklch(56.63% 0.183 142.3)
XYZxyz(10.3077, 19.8815, 3.8664)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F12 #89128F
analogous
#578F12 #188F12 #128F4B
triadic
#188F12 #12188F #8F1218
tetradic
#188F12 #12578F #89128F #8F4B12
square
#188F12 #12578F #89128F #8F4B12
split-complementary
#188F12 #4B128F #8F1257
monochromatic
#062204 #0F590B #188F12 #21C519 #3EE636

Accessibility & contrast

On white

4.22
#188F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#188F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F12
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F12#FFFFFF#000000##000000
##188F121.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f12;
/* rgb */ color: rgb(24, 143, 18);
/* oklch */ color: oklch(56.6% 0.183 142.3);
Tailwind
colors: {
  custom: {
    50: '#6eb15e',
    500: '#188f12',
    950: '#000000',
  },
}
SCSS
$custom: #188f12;
$custom-light: #6eb15e;
$custom-dark: #000000;
JSON
{
  "hex": "#188f12",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 117.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.18339,
    "h": 142.3
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#188F12
secondary
#BD3AC3
accent
#34F4EB
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #188F12

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

Preview Lab → · Contrast checker → · Palette generator →

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