#21761B#21761B

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

Color values

HEX#21761B
RGBrgb(33, 118, 27)
HSLhsl(116, 63%, 28%)
HSVhsv(116, 77%, 46%)
CMYKcmyk(72%, 0%, 77.1%, 53.7%)
CIE-LABlab(43.30, -43.03, 40.32)
CIE-LCHlch(43.30, 58.97, 136.86°)
OKLaboklab(49.71% -0.1172 0.0911)
OKLCHoklch(49.71% 0.148 142.1)
XYZxyz(7.3030, 13.3585, 3.2303)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21761B #701B76
analogous
#4E761B #21761B #1B7642
triadic
#21761B #1B2176 #761B21
tetradic
#21761B #1B4E76 #701B76 #76421B
square
#21761B #1B4E76 #701B76 #76421B
split-complementary
#21761B #421B76 #761B4E
monochromatic
#071906 #134410 #21761B #2FA826 #44D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21761B#FFFFFF#000000##FFFFFF
##21761B1.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)
#796A09
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#0B7264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21761b;
/* rgb */ color: rgb(33, 118, 27);
/* oklch */ color: oklch(49.7% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#21761b',
    950: '#000000',
  },
}
SCSS
$custom: #21761b;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#21761b",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 116.044,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.14839,
    "h": 142.1
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#21761B
secondary
#A442AA
accent
#42E6DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21761B

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

Preview Lab → · Contrast checker → · Palette generator →

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