#21762E#21762E

#21762E is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.134 H 145.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#21762E
RGBrgb(33, 118, 46)
HSLhsl(129, 56%, 30%)
HSVhsv(129, 72%, 46%)
CMYKcmyk(72%, 0%, 61%, 53.7%)
CIE-LABlab(43.47, -40.96, 31.96)
CIE-LCHlch(43.47, 51.95, 142.03°)
OKLaboklab(49.91% -0.1106 0.0756)
OKLCHoklch(49.91% 0.134 145.6)
XYZxyz(7.5983, 13.4766, 4.7851)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21762E #762169
analogous
#3F7621 #21762E #217658
triadic
#21762E #2E2176 #762E21
tetradic
#21762E #213F76 #762169 #765821
square
#21762E #213F76 #762169 #765821
split-complementary
#21762E #582176 #76213F
monochromatic
#071809 #14461B #21762E #2EA641 #46CB5A

Accessibility & contrast

On white

5.68
#21762E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#21762E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21762E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21762E#FFFFFF#000000##FFFFFF
##21762E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#017366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21762e;
/* rgb */ color: rgb(33, 118, 46);
/* oklch */ color: oklch(49.9% 0.134 145.6);
Tailwind
colors: {
  custom: {
    50: '#699e69',
    500: '#21762e',
    950: '#000000',
  },
}
SCSS
$custom: #21762e;
$custom-light: #699e69;
$custom-dark: #000000;
JSON
{
  "hex": "#21762e",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 129.176,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.13396,
    "h": 145.6
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#21762E
secondary
#A94A9B
accent
#48C8E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21762E

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

Preview Lab → · Contrast checker → · Palette generator →

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