#21761C#21761C

#21761C is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.148 H 142.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#21761C
RGBrgb(33, 118, 28)
HSLhsl(117, 62%, 29%)
HSVhsv(117, 76%, 46%)
CMYKcmyk(72%, 0%, 76.3%, 53.7%)
CIE-LABlab(43.31, -42.95, 39.94)
CIE-LCHlch(43.31, 58.65, 137.08°)
OKLaboklab(49.71% -0.1169 0.0904)
OKLCHoklch(49.71% 0.148 142.3)
XYZxyz(7.3148, 13.3633, 3.2923)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21761C #711C76
analogous
#4E761C #21761C #1C7644
triadic
#21761C #1C2176 #761C21
tetradic
#21761C #1C4E76 #711C76 #76441C
square
#21761C #1C4E76 #711C76 #76441C
split-complementary
#21761C #441C76 #761C4E
monochromatic
#071906 #134510 #21761C #2FA728 #44D13C

Accessibility & contrast

On white

5.72
#21761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#21761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21761C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21761C#FFFFFF#000000##FFFFFF
##21761C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0B
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#0A7265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21761c;
/* rgb */ color: rgb(33, 118, 28);
/* oklch */ color: oklch(49.7% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a9e5f',
    500: '#21761c',
    950: '#000000',
  },
}
SCSS
$custom: #21761c;
$custom-light: #6a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#21761c",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 116.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.14777,
    "h": 142.3
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#21761C
secondary
#A544AA
accent
#43E5DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21761C

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

Preview Lab → · Contrast checker → · Palette generator →

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