#21921F#21921F

#21921F is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.179 H 142.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#21921F
RGBrgb(33, 146, 31)
HSLhsl(119, 65%, 35%)
HSVhsv(119, 79%, 57%)
CMYKcmyk(77.4%, 0%, 78.8%, 42.7%)
CIE-LABlab(52.93, -52.31, 48.40)
CIE-LCHlch(52.93, 71.26, 137.23°)
OKLaboklab(57.71% -0.1421 0.1085)
OKLCHoklch(57.71% 0.179 142.6)
XYZxyz(11.1527, 20.9787, 4.7576)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21921F #901F92
analogous
#5A921F #21921F #1F9257
triadic
#21921F #1F2192 #921F21
tetradic
#21921F #1F5A92 #901F92 #92571F
square
#21921F #1F5A92 #901F92 #92571F
split-complementary
#21921F #571F92 #921F5A
monochromatic
#0A2D0A #166014 #21921F #2CC42A #54DA51

Accessibility & contrast

On white

4.04
#21921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#21921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21921F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21921F#FFFFFF#000000##000000
##21921F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21921f;
/* rgb */ color: rgb(33, 146, 31);
/* oklch */ color: oklch(57.7% 0.179 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b364',
    500: '#21921f',
    950: '#000000',
  },
}
SCSS
$custom: #21921f;
$custom-light: #71b364;
$custom-dark: #000000;
JSON
{
  "hex": "#21921f",
  "rgb": {
    "r": 33,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 118.957,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.17875,
    "h": 142.6
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#21921F
secondary
#BB50BD
accent
#40E8E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21921F

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

Preview Lab → · Contrast checker → · Palette generator →

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