#178015#178015

#178015 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.166 H 142.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#178015
RGBrgb(23, 128, 21)
HSLhsl(119, 72%, 29%)
HSVhsv(119, 84%, 50%)
CMYKcmyk(82%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.54, -48.58, 45.46)
CIE-LCHlch(46.54, 66.54, 136.90°)
OKLaboklab(52.33% -0.132 0.101)
OKLCHoklch(52.33% 0.166 142.6)
XYZxyz(8.2074, 15.6737, 3.3021)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178015 #7E1580
analogous
#4C8015 #178015 #158049
triadic
#178015 #151780 #801517
tetradic
#178015 #154C80 #7E1580 #804915
square
#178015 #154C80 #7E1580 #804915
split-complementary
#178015 #491580 #80154C
monochromatic
#051A04 #0E4B0C #178015 #20B51E #35DD32

Accessibility & contrast

On white

5.08
#178015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#178015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178015
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178015#FFFFFF#000000##FFFFFF
##1780151.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #178015;
/* rgb */ color: rgb(23, 128, 21);
/* oklch */ color: oklch(52.3% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa65d',
    500: '#178015',
    950: '#000000',
  },
}
SCSS
$custom: #178015;
$custom-light: #6aa65d;
$custom-dark: #000000;
JSON
{
  "hex": "#178015",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 118.879,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.16616,
    "h": 142.6
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178015

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

Preview Lab → · Contrast checker → · Palette generator →

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