#21741A#21741A

#21741A is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.147 H 142.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#21741A
RGBrgb(33, 116, 26)
HSLhsl(115, 63%, 28%)
HSVhsv(115, 78%, 45%)
CMYKcmyk(71.6%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.59, -42.39, 40.00)
CIE-LCHlch(42.59, 58.29, 136.66°)
OKLaboklab(49.12% -0.1155 0.0902)
OKLCHoklch(49.12% 0.147 142)
XYZxyz(7.0586, 12.8879, 3.0927)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21741A #6D1A74
analogous
#4E741A #21741A #1A7440
triadic
#21741A #1A2174 #741A21
tetradic
#21741A #1A4E74 #6D1A74 #74401A
square
#21741A #1A4E74 #6D1A74 #74401A
split-complementary
#21741A #401A74 #741A4E
monochromatic
#071906 #13420F #21741A #2FA625 #42D236

Accessibility & contrast

On white

5.87
#21741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#21741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21741A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21741A#FFFFFF#000000##FFFFFF
##21741A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#0C7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21741a;
/* rgb */ color: rgb(33, 116, 26);
/* oklch */ color: oklch(49.1% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9d5d',
    500: '#21741a',
    950: '#000000',
  },
}
SCSS
$custom: #21741a;
$custom-light: #6a9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#21741a",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 115.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.14656,
    "h": 142
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#21741A
secondary
#A141A9
accent
#41E6DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #21741A

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

Preview Lab → · Contrast checker → · Palette generator →

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