#21682C#21682C

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

Color values

HEX#21682C
RGBrgb(33, 104, 44)
HSLhsl(129, 52%, 27%)
HSVhsv(129, 68%, 41%)
CMYKcmyk(68.3%, 0%, 57.7%, 59.2%)
CIE-LABlab(38.56, -35.74, 27.18)
CIE-LCHlch(38.56, 44.90, 142.74°)
OKLaboklab(45.84% -0.0966 0.065)
OKLCHoklch(45.84% 0.116 146.1)
XYZxyz(6.0317, 10.4052, 4.0729)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21682C #68215D
analogous
#3A6821 #21682C #216850
triadic
#21682C #2C2168 #682C21
tetradic
#21682C #213A68 #68215D #685021
square
#21682C #213A68 #68215D #685021
split-complementary
#21682C #502168 #68213A
monochromatic
#07170A #123A18 #21682C #309640 #41C355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21682C#FFFFFF#000000##FFFFFF
##21682C1.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)
#6A5E26
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#0D655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #21682c;
/* rgb */ color: rgb(33, 104, 44);
/* oklch */ color: oklch(45.8% 0.116 146.1);
Tailwind
colors: {
  custom: {
    50: '#669467',
    500: '#21682c',
    950: '#000000',
  },
}
SCSS
$custom: #21682c;
$custom-light: #669467;
$custom-dark: #000000;
JSON
{
  "hex": "#21682c",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 44
  },
  "hsl": {
    "h": 129.296,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.1164,
    "h": 146.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#21682C
secondary
#9C498F
accent
#4DC5DB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #21682C

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

Preview Lab → · Contrast checker → · Palette generator →

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