#177018#177018

#177018 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.146 H 143.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#177018
RGBrgb(23, 112, 24)
HSLhsl(121, 66%, 26%)
HSVhsv(121, 79%, 44%)
CMYKcmyk(79.5%, 0%, 78.6%, 56.1%)
CIE-LABlab(40.95, -43.01, 39.05)
CIE-LCHlch(40.95, 58.10, 137.76°)
OKLaboklab(47.69% -0.1167 0.088)
OKLCHoklch(47.69% 0.146 143)
XYZxyz(6.3120, 11.8357, 2.8158)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177018 #70176F
analogous
#437017 #177018 #177045
triadic
#177018 #181770 #701817
tetradic
#177018 #174370 #70176F #704517
square
#177018 #174370 #70176F #704517
split-complementary
#177018 #451770 #701743
monochromatic
#051905 #0D3D0D #177018 #21A323 #2DD42F

Accessibility & contrast

On white

6.24
#177018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#177018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177018
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177018#FFFFFF#000000##FFFFFF
##1770181.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #177018;
/* rgb */ color: rgb(23, 112, 24);
/* oklch */ color: oklch(47.7% 0.146 143.0);
Tailwind
colors: {
  custom: {
    50: '#659a5c',
    500: '#177018',
    950: '#000000',
  },
}
SCSS
$custom: #177018;
$custom-light: #659a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#177018",
  "rgb": {
    "r": 23,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 120.674,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.14618,
    "h": 143
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#177018
secondary
#A63DA5
accent
#3FE7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177018

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

Preview Lab → · Contrast checker → · Palette generator →

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