#21682A#21682A

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

Color values

HEX#21682A
RGBrgb(33, 104, 42)
HSLhsl(128, 52%, 27%)
HSVhsv(128, 68%, 41%)
CMYKcmyk(68.3%, 0%, 59.6%, 59.2%)
CIE-LABlab(38.53, -36.03, 28.21)
CIE-LCHlch(38.53, 45.76, 141.94°)
OKLaboklab(45.81% -0.0974 0.0671)
OKLCHoklch(45.81% 0.118 145.4)
XYZxyz(5.9950, 10.3905, 3.8797)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21682A #68215F
analogous
#3C6821 #21682A #21684E
triadic
#21682A #2A2168 #682A21
tetradic
#21682A #213C68 #68215F #684E21
square
#21682A #213C68 #68215F #684E21
split-complementary
#21682A #4E2168 #68213C
monochromatic
#071709 #123A17 #21682A #30963D #41C351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21682A#FFFFFF#000000##FFFFFF
##21682A1.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)
#6A5E24
Deuteranopia (green-blind)
#61582F
Tritanopia (blue-blind)
#0E655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21682a;
/* rgb */ color: rgb(33, 104, 42);
/* oklch */ color: oklch(45.8% 0.118 145.4);
Tailwind
colors: {
  custom: {
    50: '#669465',
    500: '#21682a',
    950: '#000000',
  },
}
SCSS
$custom: #21682a;
$custom-light: #669465;
$custom-dark: #000000;
JSON
{
  "hex": "#21682a",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 42
  },
  "hsl": {
    "h": 127.606,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.1183,
    "h": 145.4
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#21682A
secondary
#9C4991
accent
#4DC9DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21682A

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

Preview Lab → · Contrast checker → · Palette generator →

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