#17821C#17821C

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

Color values

HEX#17821C
RGBrgb(23, 130, 28)
HSLhsl(123, 70%, 30%)
HSVhsv(123, 82%, 51%)
CMYKcmyk(82.3%, 0%, 78.5%, 49%)
CIE-LABlab(47.28, -48.75, 43.85)
CIE-LCHlch(47.28, 65.57, 138.03°)
OKLaboklab(52.95% -0.1321 0.0986)
OKLCHoklch(52.95% 0.165 143.3)
XYZxyz(8.5450, 16.2302, 3.7808)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17821C #82177D
analogous
#478217 #17821C #178252
triadic
#17821C #1C1782 #821C17
tetradic
#17821C #174782 #82177D #825217
square
#17821C #174782 #82177D #825217
split-complementary
#17821C #521782 #821747
monochromatic
#051A06 #0E4E11 #17821C #20B627 #38DC3F

Accessibility & contrast

On white

4.95
#17821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17821C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17821C#FFFFFF#000000##FFFFFF
##17821C1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #17821c;
/* rgb */ color: rgb(23, 130, 28);
/* oklch */ color: oklch(53.0% 0.165 143.3);
Tailwind
colors: {
  custom: {
    50: '#6aa760',
    500: '#17821c',
    950: '#000000',
  },
}
SCSS
$custom: #17821c;
$custom-light: #6aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#17821c",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 122.804,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.16484,
    "h": 143.3
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#17821C
secondary
#B63EB1
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#081005
muted
#7A7F79

Preview Lab

Preview with #17821C

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

Preview Lab → · Contrast checker → · Palette generator →

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