#21733B#21733B

#21733B is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.117 H 150.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#21733B
RGBrgb(33, 115, 59)
HSLhsl(139, 55%, 29%)
HSVhsv(139, 71%, 45%)
CMYKcmyk(71.3%, 0%, 48.7%, 54.9%)
CIE-LABlab(42.61, -37.73, 23.99)
CIE-LCHlch(42.61, 44.71, 147.55°)
OKLaboklab(49.25% -0.1017 0.0587)
OKLCHoklch(49.25% 0.117 150)
XYZxyz(7.5468, 12.8997, 6.2290)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21733B #732159
analogous
#307321 #21733B #217364
triadic
#21733B #3B2173 #733B21
tetradic
#21733B #213073 #732159 #736421
square
#21733B #213073 #732159 #736421
split-complementary
#21733B #642173 #732130
monochromatic
#07180C #134323 #21733B #2FA353 #45CA6F

Accessibility & contrast

On white

5.87
#21733B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#21733B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21733B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21733B#FFFFFF#000000##FFFFFF
##21733B1.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)
#746937
Deuteranopia (green-blind)
#6A623F
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21733b;
/* rgb */ color: rgb(33, 115, 59);
/* oklch */ color: oklch(49.3% 0.117 150.0);
Tailwind
colors: {
  custom: {
    50: '#689c72',
    500: '#21733b',
    950: '#000000',
  },
}
SCSS
$custom: #21733b;
$custom-light: #689c72;
$custom-dark: #000000;
JSON
{
  "hex": "#21733b",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 59
  },
  "hsl": {
    "h": 139.024,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.1174,
    "h": 150
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#21733B
secondary
#A64989
accent
#49AFDF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21733B

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

Preview Lab → · Contrast checker → · Palette generator →

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