#17831D#17831D

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

Color values

HEX#17831D
RGBrgb(23, 131, 29)
HSLhsl(123, 70%, 30%)
HSVhsv(123, 82%, 51%)
CMYKcmyk(82.4%, 0%, 77.9%, 48.6%)
CIE-LABlab(47.63, -49.00, 43.83)
CIE-LCHlch(47.63, 65.74, 138.18°)
OKLaboklab(53.25% -0.1327 0.0987)
OKLCHoklch(53.25% 0.165 143.4)
XYZxyz(8.6908, 16.5024, 3.8894)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17831D #83177D
analogous
#478317 #17831D #178353
triadic
#17831D #1D1783 #831D17
tetradic
#17831D #174783 #83177D #835317
square
#17831D #174783 #83177D #835317
split-complementary
#17831D #531783 #831747
monochromatic
#051B06 #0E4F11 #17831D #20B729 #38DC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17831D#FFFFFF#000000##FFFFFF
##17831D1.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)
#867606
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #17831d;
/* rgb */ color: rgb(23, 131, 29);
/* oklch */ color: oklch(53.2% 0.165 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa861',
    500: '#17831d',
    950: '#000000',
  },
}
SCSS
$custom: #17831d;
$custom-light: #6aa861;
$custom-dark: #000000;
JSON
{
  "hex": "#17831d",
  "rgb": {
    "r": 23,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 123.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.16542,
    "h": 143.4
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#17831D
secondary
#B73FB1
accent
#3BE3ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#081005
muted
#7A7F79

Preview Lab

Preview with #17831D

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

Preview Lab → · Contrast checker → · Palette generator →

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