#21761A#21761A

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

Color values

HEX#21761A
RGBrgb(33, 118, 26)
HSLhsl(115, 64%, 28%)
HSVhsv(115, 78%, 46%)
CMYKcmyk(72%, 0%, 78%, 53.7%)
CIE-LABlab(43.29, -43.11, 40.70)
CIE-LCHlch(43.29, 59.29, 136.65°)
OKLaboklab(49.7% -0.1174 0.0917)
OKLCHoklch(49.7% 0.149 142)
XYZxyz(7.2917, 13.3540, 3.1704)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21761A #6F1A76
analogous
#4F761A #21761A #1A7641
triadic
#21761A #1A2176 #761A21
tetradic
#21761A #1A4F76 #6F1A76 #76411A
square
#21761A #1A4F76 #6F1A76 #76411A
split-complementary
#21761A #411A76 #761A4F
monochromatic
#071906 #13440F #21761A #2FA825 #43D337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21761A#FFFFFF#000000##FFFFFF
##21761A1.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)
#796A07
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#0B7264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21761a;
/* rgb */ color: rgb(33, 118, 26);
/* oklch */ color: oklch(49.7% 0.149 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#21761a',
    950: '#000000',
  },
}
SCSS
$custom: #21761a;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#21761a",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 115.435,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.14899,
    "h": 142
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#21761A
secondary
#A341AB
accent
#41E7DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21761A

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

Preview Lab → · Contrast checker → · Palette generator →

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