#17841F#17841F

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

Color values

HEX#17841F
RGBrgb(23, 132, 31)
HSLhsl(124, 70%, 30%)
HSVhsv(124, 83%, 52%)
CMYKcmyk(82.6%, 0%, 76.5%, 48.2%)
CIE-LABlab(47.98, -49.16, 43.45)
CIE-LCHlch(47.98, 65.61, 138.53°)
OKLaboklab(53.55% -0.1331 0.0982)
OKLCHoklch(53.55% 0.165 143.6)
XYZxyz(8.8513, 16.7825, 4.0689)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17841F #84177C
analogous
#458417 #17841F #178456
triadic
#17841F #1F1784 #841F17
tetradic
#17841F #174584 #84177C #845617
square
#17841F #174584 #84177C #845617
split-complementary
#17841F #561784 #841745
monochromatic
#051C07 #0E5013 #17841F #20B82B #39DC45

Accessibility & contrast

On white

4.82
#17841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#17841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17841F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17841F#FFFFFF#000000##FFFFFF
##17841F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #17841f;
/* rgb */ color: rgb(23, 132, 31);
/* oklch */ color: oklch(53.5% 0.165 143.6);
Tailwind
colors: {
  custom: {
    50: '#6aa962',
    500: '#17841f',
    950: '#000000',
  },
}
SCSS
$custom: #17841f;
$custom-light: #6aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#17841f",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 124.404,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.16539,
    "h": 143.6
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17841F

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

Preview Lab → · Contrast checker → · Palette generator →

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