#17B31B#17B31B

#17B31B is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.7% C 0.217 H 142.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#17B31B
RGBrgb(23, 179, 27)
HSLhsl(122, 77%, 40%)
HSVhsv(122, 87%, 70%)
CMYKcmyk(87.2%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.75, -63.89, 59.62)
CIE-LCHlch(63.75, 87.38, 136.98°)
OKLaboklab(66.68% -0.1733 0.1314)
OKLCHoklch(66.68% 0.217 142.8)
XYZxyz(16.6702, 32.4994, 6.4311)
Luminance0.3250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17B31B #B317AF
analogous
#61B317 #17B31B #17B369
triadic
#17B31B #1B17B3 #B31B17
tetradic
#17B31B #1761B3 #B317AF #B36917
square
#17B31B #1761B3 #B317AF #B36917
split-complementary
#17B31B #6917B3 #B31761
monochromatic
#09470B #107D13 #17B31B #24E329 #5BEA5E

Accessibility & contrast

On white

2.80
#17B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#17B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #17B31B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17B31B#FFFFFF#000000##000000
##17B31B1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #17b31b;
/* rgb */ color: rgb(23, 179, 27);
/* oklch */ color: oklch(66.7% 0.217 142.8);
Tailwind
colors: {
  custom: {
    50: '#77cb67',
    500: '#17b31b',
    950: '#000000',
  },
}
SCSS
$custom: #17b31b;
$custom-light: #77cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#17b31b",
  "rgb": {
    "r": 23,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 121.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.21746,
    "h": 142.8
  },
  "luminance": 0.32501
}

Semantic roles & 50–950 ramp

primary
#17B31B
secondary
#CD58CA
accent
#34EFF4
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #17B31B

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

Preview Lab → · Contrast checker → · Palette generator →

#17B31B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva