#17B31F#17B31F

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

Color values

HEX#17B31F
RGBrgb(23, 179, 31)
HSLhsl(123, 77%, 40%)
HSVhsv(123, 87%, 70%)
CMYKcmyk(87.2%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.77, -63.68, 58.61)
CIE-LCHlch(63.77, 86.54, 137.37°)
OKLaboklab(66.7% -0.1726 0.1298)
OKLCHoklch(66.7% 0.216 143)
XYZxyz(16.7197, 32.5192, 6.6917)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17B31F #B317AB
analogous
#5DB317 #17B31F #17B36D
triadic
#17B31F #1F17B3 #B31F17
tetradic
#17B31F #175DB3 #B317AB #B36D17
square
#17B31F #175DB3 #B317AB #B36D17
split-complementary
#17B31F #6D17B3 #B3175D
monochromatic
#09470C #107D16 #17B31F #24E32E #5BEA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17B31F#FFFFFF#000000##000000
##17B31F1.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)
#A79633
Tritanopia (blue-blind)
#00AE98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #17b31f;
/* rgb */ color: rgb(23, 179, 31);
/* oklch */ color: oklch(66.7% 0.216 143.0);
Tailwind
colors: {
  custom: {
    50: '#77cb69',
    500: '#17b31f',
    950: '#000000',
  },
}
SCSS
$custom: #17b31f;
$custom-light: #77cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#17b31f",
  "rgb": {
    "r": 23,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 123.077,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.21594,
    "h": 143
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#17B31F
secondary
#CD58C7
accent
#34EAF4
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #17B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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