#178120#178120

#178120 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.161 H 143.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178120
RGBrgb(23, 129, 32)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 82%, 51%)
CMYKcmyk(82.2%, 0%, 75.2%, 49.4%)
CIE-LABlab(46.96, -48.08, 42.03)
CIE-LCHlch(46.96, 63.86, 138.85°)
OKLaboklab(52.7% -0.1301 0.0954)
OKLCHoklch(52.7% 0.161 143.8)
XYZxyz(8.4638, 15.9859, 4.0057)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178120 #811778
analogous
#438117 #178120 #178155
triadic
#178120 #201781 #812017
tetradic
#178120 #174381 #811778 #815517
square
#178120 #174381 #811778 #815517
split-complementary
#178120 #551781 #811743
monochromatic
#051A06 #0E4D13 #178120 #20B52D #37DB45

Accessibility & contrast

On white

5.00
#178120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#178120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178120
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178120#FFFFFF#000000##FFFFFF
##1781201.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178120;
/* rgb */ color: rgb(23, 129, 32);
/* oklch */ color: oklch(52.7% 0.161 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa762',
    500: '#178120',
    950: '#000000',
  },
}
SCSS
$custom: #178120;
$custom-light: #6aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#178120",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 125.094,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.16131,
    "h": 143.8
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#178120
secondary
#B53EAB
accent
#3BDDED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #178120

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

Preview Lab → · Contrast checker → · Palette generator →

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