#21861A#21861A

#21861A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.168 H 142.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#21861A
RGBrgb(33, 134, 26)
HSLhsl(116, 68%, 31%)
HSVhsv(116, 81%, 53%)
CMYKcmyk(75.4%, 0%, 80.6%, 47.5%)
CIE-LABlab(48.82, -48.67, 46.10)
CIE-LCHlch(48.82, 67.04, 136.56°)
OKLaboklab(54.29% -0.1325 0.103)
OKLCHoklch(54.29% 0.168 142.1)
XYZxyz(9.3382, 17.4471, 3.8526)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21861A #7F1A86
analogous
#57861A #21861A #1A8649
triadic
#21861A #1A2186 #861A21
tetradic
#21861A #1A5786 #7F1A86 #86491A
square
#21861A #1A5786 #7F1A86 #86491A
split-complementary
#21861A #491A86 #861A57
monochromatic
#081F06 #145310 #21861A #2EB924 #4ADA40

Accessibility & contrast

On white

4.68
#21861A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#21861A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21861A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21861A#FFFFFF#000000##FFFFFF
##21861A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21861a;
/* rgb */ color: rgb(33, 134, 26);
/* oklch */ color: oklch(54.3% 0.168 142.1);
Tailwind
colors: {
  custom: {
    50: '#6eaa60',
    500: '#21861a',
    950: '#000000',
  },
}
SCSS
$custom: #21861a;
$custom-light: #6eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#21861a",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 116.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.16777,
    "h": 142.1
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#21861A
secondary
#B242B9
accent
#3DEADF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #21861A

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

Preview Lab → · Contrast checker → · Palette generator →

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