#188018#188018

#188018 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.164 H 142.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#188018
RGBrgb(24, 128, 24)
HSLhsl(120, 68%, 30%)
HSVhsv(120, 81%, 50%)
CMYKcmyk(81.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.58, -48.25, 44.55)
CIE-LCHlch(46.58, 65.67, 137.28°)
OKLaboklab(52.37% -0.1309 0.0995)
OKLCHoklch(52.37% 0.164 142.8)
XYZxyz(8.2602, 15.6975, 3.4586)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188018 #801880
analogous
#4C8018 #188018 #18804C
triadic
#188018 #181880 #801818
tetradic
#188018 #184C80 #801880 #804C18
square
#188018 #184C80 #801880 #804C18
split-complementary
#188018 #4C1880 #80184C
monochromatic
#051A05 #0E4C0E #188018 #22B422 #39DA39

Accessibility & contrast

On white

5.07
#188018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#188018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188018
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188018#FFFFFF#000000##FFFFFF
##1880181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #188018;
/* rgb */ color: rgb(24, 128, 24);
/* oklch */ color: oklch(52.4% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa65e',
    500: '#188018',
    950: '#000000',
  },
}
SCSS
$custom: #188018;
$custom-light: #6aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#188018",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.16446,
    "h": 142.8
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#188018
secondary
#B440B4
accent
#3DEBEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #188018

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

Preview Lab → · Contrast checker → · Palette generator →

#188018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva