#21834A#21834A

#21834A is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.125 H 152.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#21834A
RGBrgb(33, 131, 74)
HSLhsl(145, 60%, 32%)
HSVhsv(145, 75%, 51%)
CMYKcmyk(74.8%, 0%, 43.5%, 48.6%)
CIE-LABlab(48.32, -41.38, 23.00)
CIE-LCHlch(48.32, 47.34, 150.93°)
OKLaboklab(54.04% -0.1115 0.057)
OKLCHoklch(54.04% 0.125 152.9)
XYZxyz(9.9786, 17.0492, 9.2422)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21834A #83215A
analogous
#298321 #21834A #21837B
triadic
#21834A #4A2183 #834A21
tetradic
#21834A #212983 #83215A #837B21
square
#21834A #212983 #83215A #837B21
split-complementary
#21834A #7B2183 #832129
monochromatic
#082113 #15522E #21834A #2DB466 #4CD284

Accessibility & contrast

On white

4.76
#21834A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#21834A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21834A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21834A#FFFFFF#000000##FFFFFF
##21834A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837846
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21834a;
/* rgb */ color: rgb(33, 131, 74);
/* oklch */ color: oklch(54.0% 0.125 152.9);
Tailwind
colors: {
  custom: {
    50: '#6ba87d',
    500: '#21834a',
    950: '#000000',
  },
}
SCSS
$custom: #21834a;
$custom-light: #6ba87d;
$custom-dark: #000000;
JSON
{
  "hex": "#21834a",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 74
  },
  "hsl": {
    "h": 145.102,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.12517,
    "h": 152.9
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#21834A
secondary
#B54B89
accent
#45A1E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #21834A

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

Preview Lab → · Contrast checker → · Palette generator →

#21834A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva