#21682B#21682B

#21682B is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.117 H 145.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#21682B
RGBrgb(33, 104, 43)
HSLhsl(128, 52%, 27%)
HSVhsv(128, 68%, 41%)
CMYKcmyk(68.3%, 0%, 58.7%, 59.2%)
CIE-LABlab(38.55, -35.88, 27.70)
CIE-LCHlch(38.55, 45.33, 142.34°)
OKLaboklab(45.82% -0.097 0.0661)
OKLCHoklch(45.82% 0.117 145.7)
XYZxyz(6.0132, 10.3978, 3.9751)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21682B #68215E
analogous
#3B6821 #21682B #21684F
triadic
#21682B #2B2168 #682B21
tetradic
#21682B #213B68 #68215E #684F21
square
#21682B #213B68 #68215E #684F21
split-complementary
#21682B #4F2168 #68213B
monochromatic
#07170A #123A18 #21682B #30963E #41C353

Accessibility & contrast

On white

6.82
#21682B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#21682B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21682B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21682B#FFFFFF#000000##FFFFFF
##21682B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E25
Deuteranopia (green-blind)
#615830
Tritanopia (blue-blind)
#0D655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21682b;
/* rgb */ color: rgb(33, 104, 43);
/* oklch */ color: oklch(45.8% 0.117 145.7);
Tailwind
colors: {
  custom: {
    50: '#669466',
    500: '#21682b',
    950: '#000000',
  },
}
SCSS
$custom: #21682b;
$custom-light: #669466;
$custom-dark: #000000;
JSON
{
  "hex": "#21682b",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 43
  },
  "hsl": {
    "h": 128.451,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.11735,
    "h": 145.7
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#21682B
secondary
#9C4990
accent
#4DC7DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21682B

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

Preview Lab → · Contrast checker → · Palette generator →

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