#178018#178018

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

Color values

HEX#178018
RGBrgb(23, 128, 24)
HSLhsl(121, 70%, 30%)
HSVhsv(121, 82%, 50%)
CMYKcmyk(82%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.56, -48.39, 44.53)
CIE-LCHlch(46.56, 65.76, 137.38°)
OKLaboklab(52.35% -0.1313 0.0995)
OKLCHoklch(52.35% 0.165 142.9)
XYZxyz(8.2369, 15.6855, 3.4575)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178018 #80177F
analogous
#4B8017 #178018 #17804C
triadic
#178018 #181780 #801817
tetradic
#178018 #174B80 #80177F #804C17
square
#178018 #174B80 #80177F #804C17
split-complementary
#178018 #4C1780 #80174B
monochromatic
#051A05 #0E4C0E #178018 #20B422 #36DB38

Accessibility & contrast

On white

5.08
#178018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #178018
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178018#FFFFFF#000000##FFFFFF
##1780181.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.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: #178018;
/* rgb */ color: rgb(23, 128, 24);
/* oklch */ color: oklch(52.4% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa65e',
    500: '#178018',
    950: '#000000',
  },
}
SCSS
$custom: #178018;
$custom-light: #6aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#178018",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 120.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.16471,
    "h": 142.9
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#178018
secondary
#B43EB3
accent
#3BEBEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #178018

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

Preview Lab → · Contrast checker → · Palette generator →

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