#178022#178022

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

Color values

HEX#178022
RGBrgb(23, 128, 34)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 82%, 50%)
CMYKcmyk(82%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.62, -47.57, 40.89)
CIE-LCHlch(46.62, 62.72, 139.32°)
OKLaboklab(52.43% -0.1286 0.0933)
OKLCHoklch(52.43% 0.159 144.1)
XYZxyz(8.3607, 15.7350, 4.1096)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178022 #801775
analogous
#408017 #178022 #178057
triadic
#178022 #221780 #802217
tetradic
#178022 #174080 #801775 #805717
square
#178022 #174080 #801775 #805717
split-complementary
#178022 #571780 #801740
monochromatic
#051A07 #0E4C14 #178022 #20B430 #36DB48

Accessibility & contrast

On white

5.06
#178022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#178022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178022
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178022#FFFFFF#000000##FFFFFF
##1780221.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837313
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #178022;
/* rgb */ color: rgb(23, 128, 34);
/* oklch */ color: oklch(52.4% 0.159 144.1);
Tailwind
colors: {
  custom: {
    50: '#69a663',
    500: '#178022',
    950: '#000000',
  },
}
SCSS
$custom: #178022;
$custom-light: #69a663;
$custom-dark: #000000;
JSON
{
  "hex": "#178022",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 126.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.15885,
    "h": 144.1
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#178022
secondary
#B43EA8
accent
#3BDAEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #178022

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

Preview Lab → · Contrast checker → · Palette generator →

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