#21841E#21841E

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

Color values

HEX#21841E
RGBrgb(33, 132, 30)
HSLhsl(118, 63%, 32%)
HSVhsv(118, 77%, 52%)
CMYKcmyk(75%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.16, -47.70, 44.06)
CIE-LCHlch(48.16, 64.93, 137.27°)
OKLaboklab(53.74% -0.1296 0.0993)
OKLCHoklch(53.74% 0.163 142.6)
XYZxyz(9.1123, 16.9186, 4.0134)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21841E #811E84
analogous
#54841E #21841E #1E844E
triadic
#21841E #1E2184 #841E21
tetradic
#21841E #1E5484 #811E84 #844E1E
square
#21841E #1E5484 #811E84 #844E1E
split-complementary
#21841E #4E1E84 #841E54
monochromatic
#082007 #155213 #21841E #2DB629 #4BD547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21841E#FFFFFF#000000##FFFFFF
##21841E1.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)
#877708
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21841e;
/* rgb */ color: rgb(33, 132, 30);
/* oklch */ color: oklch(53.7% 0.163 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea961',
    500: '#21841e',
    950: '#000000',
  },
}
SCSS
$custom: #21841e;
$custom-light: #6ea961;
$custom-dark: #000000;
JSON
{
  "hex": "#21841e",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 118.235,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.16328,
    "h": 142.6
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#21841E
secondary
#B447B7
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21841E

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

Preview Lab → · Contrast checker → · Palette generator →

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