#21841C#21841C

#21841C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.164 H 142.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#21841C
RGBrgb(33, 132, 28)
HSLhsl(117, 65%, 31%)
HSVhsv(117, 79%, 52%)
CMYKcmyk(75%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.14, -47.85, 44.76)
CIE-LCHlch(48.14, 65.53, 136.91°)
OKLaboklab(53.73% -0.1301 0.1005)
OKLCHoklch(53.73% 0.164 142.3)
XYZxyz(9.0875, 16.9087, 3.8832)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21841C #7F1C84
analogous
#55841C #21841C #1C844B
triadic
#21841C #1C2184 #841C21
tetradic
#21841C #1C5584 #7F1C84 #844B1C
square
#21841C #1C5584 #7F1C84 #844B1C
split-complementary
#21841C #4B1C84 #841C55
monochromatic
#081F07 #145211 #21841C #2EB627 #4AD743

Accessibility & contrast

On white

4.79
#21841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#21841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21841C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21841C#FFFFFF#000000##FFFFFF
##21841C1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21841c;
/* rgb */ color: rgb(33, 132, 28);
/* oklch */ color: oklch(53.7% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea960',
    500: '#21841c',
    950: '#000000',
  },
}
SCSS
$custom: #21841c;
$custom-light: #6ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#21841c",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 117.115,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.16441,
    "h": 142.3
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#21841C
secondary
#B245B7
accent
#40E8E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #21841C

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

Preview Lab → · Contrast checker → · Palette generator →

#21841C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva