#21741E#21741E

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

Color values

HEX#21741E
RGBrgb(33, 116, 30)
HSLhsl(118, 59%, 29%)
HSVhsv(118, 74%, 45%)
CMYKcmyk(71.6%, 0%, 74.1%, 54.5%)
CIE-LABlab(42.62, -42.04, 38.44)
CIE-LCHlch(42.62, 56.97, 137.57°)
OKLaboklab(49.15% -0.1143 0.0875)
OKLCHoklch(49.15% 0.144 142.6)
XYZxyz(7.1065, 12.9071, 3.3448)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21741E #711E74
analogous
#4C741E #21741E #1E7446
triadic
#21741E #1E2174 #741E21
tetradic
#21741E #1E4C74 #711E74 #74461E
square
#21741E #1E4C74 #711E74 #74461E
split-complementary
#21741E #461E74 #741E4C
monochromatic
#071806 #134311 #21741E #2FA52B #44CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21741E#FFFFFF#000000##FFFFFF
##21741E1.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)
#776910
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#0B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21741e;
/* rgb */ color: rgb(33, 116, 30);
/* oklch */ color: oklch(49.2% 0.144 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9d5f',
    500: '#21741e',
    950: '#000000',
  },
}
SCSS
$custom: #21741e;
$custom-light: #6a9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#21741e",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 117.907,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.14399,
    "h": 142.6
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#21741E
secondary
#A546A8
accent
#46E2DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21741E

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

Preview Lab → · Contrast checker → · Palette generator →

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