#21742E#21742E

#21742E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.131 H 145.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#21742E
RGBrgb(33, 116, 46)
HSLhsl(129, 56%, 29%)
HSVhsv(129, 72%, 45%)
CMYKcmyk(71.6%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.78, -40.19, 31.15)
CIE-LCHlch(42.78, 50.85, 142.22°)
OKLaboklab(49.33% -0.1085 0.0738)
OKLCHoklch(49.33% 0.131 145.8)
XYZxyz(7.3652, 13.0106, 4.7074)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21742E #742167
analogous
#3E7421 #21742E #217458
triadic
#21742E #2E2174 #742E21
tetradic
#21742E #213E74 #742167 #745821
square
#21742E #213E74 #742167 #745821
split-complementary
#21742E #582174 #74213E
monochromatic
#071809 #13441B #21742E #2FA441 #45CA5A

Accessibility & contrast

On white

5.83
#21742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#21742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21742E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21742E#FFFFFF#000000##FFFFFF
##21742E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#037165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21742e;
/* rgb */ color: rgb(33, 116, 46);
/* oklch */ color: oklch(49.3% 0.131 145.8);
Tailwind
colors: {
  custom: {
    50: '#699d69',
    500: '#21742e',
    950: '#000000',
  },
}
SCSS
$custom: #21742e;
$custom-light: #699d69;
$custom-dark: #000000;
JSON
{
  "hex": "#21742e",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 129.398,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.13126,
    "h": 145.8
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#21742E
secondary
#A74999
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21742E

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

Preview Lab → · Contrast checker → · Palette generator →

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