#21761E#21761E

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

Color values

HEX#21761E
RGBrgb(33, 118, 30)
HSLhsl(118, 59%, 29%)
HSVhsv(118, 75%, 46%)
CMYKcmyk(72%, 0%, 74.6%, 53.7%)
CIE-LABlab(43.32, -42.77, 39.16)
CIE-LCHlch(43.32, 57.99, 137.53°)
OKLaboklab(49.73% -0.1163 0.0891)
OKLCHoklch(49.73% 0.146 142.6)
XYZxyz(7.3395, 13.3731, 3.4225)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21761E #731E76
analogous
#4D761E #21761E #1E7647
triadic
#21761E #1E2176 #761E21
tetradic
#21761E #1E4D76 #731E76 #76471E
square
#21761E #1E4D76 #731E76 #76471E
split-complementary
#21761E #471E76 #761E4D
monochromatic
#071806 #134512 #21761E #2FA72A #45CE40

Accessibility & contrast

On white

5.71
#21761E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21761E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21761E#FFFFFF#000000##FFFFFF
##21761E1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0F
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#097265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21761e;
/* rgb */ color: rgb(33, 118, 30);
/* oklch */ color: oklch(49.7% 0.146 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e60',
    500: '#21761e',
    950: '#000000',
  },
}
SCSS
$custom: #21761e;
$custom-light: #6a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#21761e",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 117.955,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.14647,
    "h": 142.6
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#21761E
secondary
#A646AA
accent
#45E3DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21761E

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

Preview Lab → · Contrast checker → · Palette generator →

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