#178223#178223

#178223 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.161 H 144.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#178223
RGBrgb(23, 130, 35)
HSLhsl(127, 70%, 30%)
HSVhsv(127, 82%, 51%)
CMYKcmyk(82.3%, 0%, 73.1%, 49%)
CIE-LABlab(47.32, -48.14, 41.21)
CIE-LCHlch(47.32, 63.37, 139.44°)
OKLaboklab(53.01% -0.1301 0.0941)
OKLCHoklch(53.01% 0.161 144.1)
XYZxyz(8.6388, 16.2677, 4.2745)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178223 #821776
analogous
#408217 #178223 #178259
triadic
#178223 #231782 #822317
tetradic
#178223 #174082 #821776 #825917
square
#178223 #174082 #821776 #825917
split-complementary
#178223 #591782 #821740
monochromatic
#051A07 #0E4E15 #178223 #20B631 #38DC4A

Accessibility & contrast

On white

4.94
#178223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#178223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178223
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178223#FFFFFF#000000##FFFFFF
##1782231.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178223;
/* rgb */ color: rgb(23, 130, 35);
/* oklch */ color: oklch(53.0% 0.161 144.1);
Tailwind
colors: {
  custom: {
    50: '#6aa764',
    500: '#178223',
    950: '#000000',
  },
}
SCSS
$custom: #178223;
$custom-light: #6aa764;
$custom-dark: #000000;
JSON
{
  "hex": "#178223",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 126.729,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.16055,
    "h": 144.1
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#178223
secondary
#B63EA9
accent
#3BD9ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178223

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

Preview Lab → · Contrast checker → · Palette generator →

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