#21762F#21762F

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

Color values

HEX#21762F
RGBrgb(33, 118, 47)
HSLhsl(130, 56%, 30%)
HSVhsv(130, 72%, 46%)
CMYKcmyk(72%, 0%, 60.2%, 53.7%)
CIE-LABlab(43.48, -40.82, 31.47)
CIE-LCHlch(43.48, 51.54, 142.37°)
OKLaboklab(49.92% -0.1102 0.0746)
OKLCHoklch(49.92% 0.133 145.9)
XYZxyz(7.6182, 13.4846, 4.8901)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21762F #762168
analogous
#3E7621 #21762F #217659
triadic
#21762F #2F2176 #762F21
tetradic
#21762F #213E76 #762168 #765921
square
#21762F #213E76 #762168 #765921
split-complementary
#21762F #592176 #76213E
monochromatic
#07180A #14461C #21762F #2EA642 #46CB5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21762F#FFFFFF#000000##FFFFFF
##21762F1.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)
#786B28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21762f;
/* rgb */ color: rgb(33, 118, 47);
/* oklch */ color: oklch(49.9% 0.133 145.9);
Tailwind
colors: {
  custom: {
    50: '#699e6a',
    500: '#21762f',
    950: '#000000',
  },
}
SCSS
$custom: #21762f;
$custom-light: #699e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21762f",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 129.882,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.13307,
    "h": 145.9
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#21762F
secondary
#A94A99
accent
#48C7E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21762F

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

Preview Lab → · Contrast checker → · Palette generator →

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