#16821F#16821F

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

Color values

HEX#16821F
RGBrgb(22, 130, 31)
HSLhsl(125, 71%, 30%)
HSVhsv(125, 83%, 51%)
CMYKcmyk(83.1%, 0%, 76.2%, 49%)
CIE-LABlab(47.28, -48.63, 42.74)
CIE-LCHlch(47.28, 64.74, 138.69°)
OKLaboklab(52.96% -0.1316 0.0967)
OKLCHoklch(52.96% 0.163 143.7)
XYZxyz(8.5603, 16.2337, 3.9783)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16821F #821679
analogous
#438216 #16821F #168255
triadic
#16821F #1F1682 #821F16
tetradic
#16821F #164382 #821679 #825516
square
#16821F #164382 #821679 #825516
split-complementary
#16821F #551682 #821643
monochromatic
#041A06 #0D4E13 #16821F #1FB62B #35DD43

Accessibility & contrast

On white

4.94
#16821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#16821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #16821F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16821F#FFFFFF#000000##FFFFFF
##16821F1.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)
#85750C
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #16821f;
/* rgb */ color: rgb(22, 130, 31);
/* oklch */ color: oklch(53.0% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa762',
    500: '#16821f',
    950: '#000000',
  },
}
SCSS
$custom: #16821f;
$custom-light: #6aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#16821f",
  "rgb": {
    "r": 22,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 125,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.16332,
    "h": 143.7
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#16821F
secondary
#B73DAC
accent
#3ADFEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #16821F

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

Preview Lab → · Contrast checker → · Palette generator →

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