#178118#178118

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

Color values

HEX#178118
RGBrgb(23, 129, 24)
HSLhsl(121, 70%, 30%)
HSVhsv(121, 82%, 51%)
CMYKcmyk(82.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.91, -48.71, 44.86)
CIE-LCHlch(46.91, 66.22, 137.36°)
OKLaboklab(52.64% -0.1322 0.1002)
OKLCHoklch(52.64% 0.166 142.8)
XYZxyz(8.3679, 15.9476, 3.5012)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178118 #811780
analogous
#4B8117 #178118 #17814D
triadic
#178118 #181781 #811817
tetradic
#178118 #174B81 #811780 #814D17
square
#178118 #174B81 #811780 #814D17
split-complementary
#178118 #4D1781 #81174B
monochromatic
#051A05 #0E4D0E #178118 #20B522 #37DB39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178118#FFFFFF#000000##FFFFFF
##1781181.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)
#796C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178118;
/* rgb */ color: rgb(23, 129, 24);
/* oklch */ color: oklch(52.6% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#178118',
    950: '#000000',
  },
}
SCSS
$custom: #178118;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#178118",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 120.566,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.16583,
    "h": 142.8
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#178118
secondary
#B53EB4
accent
#3BEBED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #178118

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

Preview Lab → · Contrast checker → · Palette generator →

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