#17831F#17831F

#17831F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.164 H 143.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#17831F
RGBrgb(23, 131, 31)
HSLhsl(124, 70%, 30%)
HSVhsv(124, 82%, 51%)
CMYKcmyk(82.4%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.64, -48.83, 43.11)
CIE-LCHlch(47.64, 65.14, 138.56°)
OKLaboklab(53.26% -0.1322 0.0975)
OKLCHoklch(53.26% 0.164 143.6)
XYZxyz(8.7164, 16.5126, 4.0239)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17831F #83177B
analogous
#458317 #17831F #178355
triadic
#17831F #1F1783 #831F17
tetradic
#17831F #174583 #83177B #835517
square
#17831F #174583 #83177B #835517
split-complementary
#17831F #551783 #831745
monochromatic
#051B06 #0E4F13 #17831F #20B72B #38DC44

Accessibility & contrast

On white

4.88
#17831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#17831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17831F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17831F#FFFFFF#000000##FFFFFF
##17831F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #17831f;
/* rgb */ color: rgb(23, 131, 31);
/* oklch */ color: oklch(53.3% 0.164 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa862',
    500: '#17831f',
    950: '#000000',
  },
}
SCSS
$custom: #17831f;
$custom-light: #6aa862;
$custom-dark: #000000;
JSON
{
  "hex": "#17831f",
  "rgb": {
    "r": 23,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 124.444,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.16424,
    "h": 143.6
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#17831F
secondary
#B73FAE
accent
#3BE0ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #17831F

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

Preview Lab → · Contrast checker → · Palette generator →

#17831F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva