#21861E#21861E

#21861E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.166 H 142.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#21861E
RGBrgb(33, 134, 30)
HSLhsl(118, 63%, 32%)
HSVhsv(118, 78%, 53%)
CMYKcmyk(75.4%, 0%, 77.6%, 47.5%)
CIE-LABlab(48.84, -48.38, 44.74)
CIE-LCHlch(48.84, 65.89, 137.24°)
OKLaboklab(54.31% -0.1315 0.1007)
OKLCHoklch(54.31% 0.166 142.6)
XYZxyz(9.3861, 17.4662, 4.1047)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21861E #831E86
analogous
#55861E #21861E #1E864F
triadic
#21861E #1E2186 #861E21
tetradic
#21861E #1E5586 #831E86 #864F1E
square
#21861E #1E5586 #831E86 #864F1E
split-complementary
#21861E #4F1E86 #861E55
monochromatic
#082208 #155413 #21861E #2DB829 #4CD648

Accessibility & contrast

On white

4.67
#21861E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21861E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21861E#FFFFFF#000000##FFFFFF
##21861E1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21861e;
/* rgb */ color: rgb(33, 134, 30);
/* oklch */ color: oklch(54.3% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa62',
    500: '#21861e',
    950: '#000000',
  },
}
SCSS
$custom: #21861e;
$custom-light: #6eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#21861e",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 118.269,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.16561,
    "h": 142.6
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#21861E
secondary
#B547B8
accent
#41E6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21861E

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

Preview Lab → · Contrast checker → · Palette generator →

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