#178115#178115

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

Color values

HEX#178115
RGBrgb(23, 129, 21)
HSLhsl(119, 72%, 29%)
HSVhsv(119, 84%, 51%)
CMYKcmyk(82.2%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.89, -48.91, 45.79)
CIE-LCHlch(46.89, 67.00, 136.89°)
OKLaboklab(52.62% -0.1328 0.1017)
OKLCHoklch(52.62% 0.167 142.6)
XYZxyz(8.3384, 15.9358, 3.3458)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178115 #7F1581
analogous
#4D8115 #178115 #158149
triadic
#178115 #151781 #811517
tetradic
#178115 #154D81 #7F1581 #814915
square
#178115 #154D81 #7F1581 #814915
split-complementary
#178115 #491581 #81154D
monochromatic
#051A04 #0E4C0C #178115 #20B61E #36DE33

Accessibility & contrast

On white

5.02
#178115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #178115
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178115#FFFFFF#000000##FFFFFF
##1781151.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.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: #178115;
/* rgb */ color: rgb(23, 129, 21);
/* oklch */ color: oklch(52.6% 0.167 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa75d',
    500: '#178115',
    950: '#000000',
  },
}
SCSS
$custom: #178115;
$custom-light: #6aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#178115",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 118.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.16726,
    "h": 142.6
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#178115
secondary
#B43CB6
accent
#39EFEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #178115

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

Preview Lab → · Contrast checker → · Palette generator →

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