#177F15#177F15

#177F15 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.165 H 142.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#177F15
RGBrgb(23, 127, 21)
HSLhsl(119, 72%, 29%)
HSVhsv(119, 83%, 50%)
CMYKcmyk(81.9%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.20, -48.26, 45.14)
CIE-LCHlch(46.20, 66.08, 136.91°)
OKLaboklab(52.04% -0.1311 0.1003)
OKLCHoklch(52.04% 0.165 142.6)
XYZxyz(8.0776, 15.4141, 3.2588)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F15 #7D157F
analogous
#4C7F15 #177F15 #157F48
triadic
#177F15 #15177F #7F1517
tetradic
#177F15 #154C7F #7D157F #7F4815
square
#177F15 #154C7F #7D157F #7F4815
split-complementary
#177F15 #48157F #7F154C
monochromatic
#051A04 #0D4A0C #177F15 #21B41E #35DD31

Accessibility & contrast

On white

5.14
#177F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#177F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F15
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F15#FFFFFF#000000##FFFFFF
##177F151.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177f15;
/* rgb */ color: rgb(23, 127, 21);
/* oklch */ color: oklch(52.0% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa55d',
    500: '#177f15',
    950: '#000000',
  },
}
SCSS
$custom: #177f15;
$custom-light: #6aa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#177f15",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 118.868,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.16504,
    "h": 142.6
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#177F15
secondary
#B23CB4
accent
#39EEEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #177F15

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

Preview Lab → · Contrast checker → · Palette generator →

#177F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva