#178116#178116

#178116 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.167 H 142.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#178116
RGBrgb(23, 129, 22)
HSLhsl(119, 71%, 30%)
HSVhsv(119, 83%, 51%)
CMYKcmyk(82.2%, 0%, 82.9%, 49.4%)
CIE-LABlab(46.90, -48.85, 45.49)
CIE-LCHlch(46.90, 66.75, 137.04°)
OKLaboklab(52.63% -0.1326 0.1012)
OKLCHoklch(52.63% 0.167 142.7)
XYZxyz(8.3479, 15.9396, 3.3956)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178116 #801681
analogous
#4D8116 #178116 #16814A
triadic
#178116 #161781 #811617
tetradic
#178116 #164D81 #801681 #814A16
square
#178116 #164D81 #801681 #814A16
split-complementary
#178116 #4A1681 #81164D
monochromatic
#051A04 #0E4D0D #178116 #20B51F #36DD35

Accessibility & contrast

On white

5.01
#178116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#178116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178116
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178116#FFFFFF#000000##FFFFFF
##1781161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178116;
/* rgb */ color: rgb(23, 129, 22);
/* oklch */ color: oklch(52.6% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa75d',
    500: '#178116',
    950: '#000000',
  },
}
SCSS
$custom: #178116;
$custom-light: #6aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#178116",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 119.439,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.1668,
    "h": 142.7
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#178116
secondary
#B43DB6
accent
#3AEEEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #178116

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

Preview Lab → · Contrast checker → · Palette generator →

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