#21682D#21682D

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

Color values

HEX#21682D
RGBrgb(33, 104, 45)
HSLhsl(130, 52%, 27%)
HSVhsv(130, 68%, 41%)
CMYKcmyk(68.3%, 0%, 56.7%, 59.2%)
CIE-LABlab(38.57, -35.58, 26.66)
CIE-LCHlch(38.57, 44.46, 143.16°)
OKLaboklab(45.85% -0.0961 0.0639)
OKLCHoklch(45.85% 0.115 146.4)
XYZxyz(6.0508, 10.4128, 4.1731)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21682D #68215C
analogous
#396821 #21682D #216851
triadic
#21682D #2D2168 #682D21
tetradic
#21682D #213968 #68215C #685121
square
#21682D #213968 #68215C #685121
split-complementary
#21682D #512168 #682139
monochromatic
#07170A #123A19 #21682D #309641 #41C357

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21682D#FFFFFF#000000##FFFFFF
##21682D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F28
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#0C665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21682d;
/* rgb */ color: rgb(33, 104, 45);
/* oklch */ color: oklch(45.9% 0.115 146.4);
Tailwind
colors: {
  custom: {
    50: '#669467',
    500: '#21682d',
    950: '#000000',
  },
}
SCSS
$custom: #21682d;
$custom-light: #669467;
$custom-dark: #000000;
JSON
{
  "hex": "#21682d",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 130.141,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.11543,
    "h": 146.4
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#21682D
secondary
#9C498E
accent
#4DC3DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21682D

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

Preview Lab → · Contrast checker → · Palette generator →

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