#17821E#17821E

#17821E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.164 H 143.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#17821E
RGBrgb(23, 130, 30)
HSLhsl(124, 70%, 30%)
HSVhsv(124, 82%, 51%)
CMYKcmyk(82.3%, 0%, 76.9%, 49%)
CIE-LABlab(47.29, -48.59, 43.13)
CIE-LCHlch(47.29, 64.97, 138.41°)
OKLaboklab(52.97% -0.1316 0.0974)
OKLCHoklch(52.97% 0.164 143.5)
XYZxyz(8.5698, 16.2401, 3.9110)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17821E #82177B
analogous
#468217 #17821E #178253
triadic
#17821E #1E1782 #821E17
tetradic
#17821E #174682 #82177B #825317
square
#17821E #174682 #82177B #825317
split-complementary
#17821E #531782 #821746
monochromatic
#051A06 #0E4E12 #17821E #20B62A #38DC42

Accessibility & contrast

On white

4.94
#17821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#17821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17821E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17821E#FFFFFF#000000##FFFFFF
##17821E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #17821e;
/* rgb */ color: rgb(23, 130, 30);
/* oklch */ color: oklch(53.0% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#6aa761',
    500: '#17821e',
    950: '#000000',
  },
}
SCSS
$custom: #17821e;
$custom-light: #6aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#17821e",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 123.925,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.16369,
    "h": 143.5
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#17821E
secondary
#B63EAE
accent
#3BE1ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #17821E

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

Preview Lab → · Contrast checker → · Palette generator →

#17821E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva