#178321#178321

#178321 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.163 H 143.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#178321
RGBrgb(23, 131, 33)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 82%, 51%)
CMYKcmyk(82.4%, 0%, 74.8%, 48.6%)
CIE-LABlab(47.65, -48.66, 42.35)
CIE-LCHlch(47.65, 64.51, 138.97°)
OKLaboklab(53.28% -0.1316 0.0962)
OKLCHoklch(53.28% 0.163 143.8)
XYZxyz(8.7436, 16.5235, 4.1671)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178321 #831779
analogous
#438317 #178321 #178357
triadic
#178321 #211783 #832117
tetradic
#178321 #174383 #831779 #835717
square
#178321 #174383 #831779 #835717
split-complementary
#178321 #571783 #831743
monochromatic
#051B07 #0E4F14 #178321 #20B72E #38DC47

Accessibility & contrast

On white

4.88
#178321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#178321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178321
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178321#FFFFFF#000000##FFFFFF
##1783211.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #178321;
/* rgb */ color: rgb(23, 131, 33);
/* oklch */ color: oklch(53.3% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa863',
    500: '#178321',
    950: '#000000',
  },
}
SCSS
$custom: #178321;
$custom-light: #6aa863;
$custom-dark: #000000;
JSON
{
  "hex": "#178321",
  "rgb": {
    "r": 23,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 125.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.16302,
    "h": 143.8
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#178321
secondary
#B73FAC
accent
#3BDCED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #178321

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

Preview Lab → · Contrast checker → · Palette generator →

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