#21741D#21741D

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

Color values

HEX#21741D
RGBrgb(33, 116, 29)
HSLhsl(117, 60%, 28%)
HSVhsv(117, 75%, 45%)
CMYKcmyk(71.6%, 0%, 75%, 54.5%)
CIE-LABlab(42.62, -42.14, 38.84)
CIE-LCHlch(42.62, 57.30, 137.33°)
OKLaboklab(49.14% -0.1146 0.0882)
OKLCHoklch(49.14% 0.145 142.4)
XYZxyz(7.0940, 12.9021, 3.2787)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21741D #701D74
analogous
#4C741D #21741D #1D7444
triadic
#21741D #1D2174 #741D21
tetradic
#21741D #1D4C74 #701D74 #74441D
square
#21741D #1D4C74 #701D74 #74441D
split-complementary
#21741D #441D74 #741D4C
monochromatic
#071806 #134311 #21741D #2FA529 #44CE3D

Accessibility & contrast

On white

5.86
#21741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21741D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21741D#FFFFFF#000000##FFFFFF
##21741D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#0B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21741d;
/* rgb */ color: rgb(33, 116, 29);
/* oklch */ color: oklch(49.1% 0.145 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9d5f',
    500: '#21741d',
    950: '#000000',
  },
}
SCSS
$custom: #21741d;
$custom-light: #6a9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#21741d",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 117.241,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.14465,
    "h": 142.4
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#21741D
secondary
#A445A8
accent
#45E3DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21741D

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

Preview Lab → · Contrast checker → · Palette generator →

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