#21682F#21682F

#21682F is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.113 H 147.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#21682F
RGBrgb(33, 104, 47)
HSLhsl(132, 52%, 27%)
HSVhsv(132, 68%, 41%)
CMYKcmyk(68.3%, 0%, 54.8%, 59.2%)
CIE-LABlab(38.60, -35.27, 25.61)
CIE-LCHlch(38.60, 43.59, 144.02°)
OKLaboklab(45.88% -0.0952 0.0617)
OKLCHoklch(45.88% 0.113 147)
XYZxyz(6.0902, 10.4286, 4.3807)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21682F #68215A
analogous
#376821 #21682F #216853
triadic
#21682F #2F2168 #682F21
tetradic
#21682F #213768 #68215A #685321
square
#21682F #213768 #68215A #685321
split-complementary
#21682F #532168 #682137
monochromatic
#07170A #123A1A #21682F #309644 #41C35A

Accessibility & contrast

On white

6.81
#21682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#21682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21682F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21682F#FFFFFF#000000##FFFFFF
##21682F1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#0B665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21682f;
/* rgb */ color: rgb(33, 104, 47);
/* oklch */ color: oklch(45.9% 0.113 147.0);
Tailwind
colors: {
  custom: {
    50: '#669469',
    500: '#21682f',
    950: '#000000',
  },
}
SCSS
$custom: #21682f;
$custom-light: #669469;
$custom-dark: #000000;
JSON
{
  "hex": "#21682f",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 131.831,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.11347,
    "h": 147
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#21682F
secondary
#9C498C
accent
#4DBFDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21682F

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

Preview Lab → · Contrast checker → · Palette generator →

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