#21862B#21862B

#21862B is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.157 H 144.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#21862B
RGBrgb(33, 134, 43)
HSLhsl(126, 60%, 33%)
HSVhsv(126, 75%, 53%)
CMYKcmyk(75.4%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.94, -47.17, 39.56)
CIE-LCHlch(48.94, 61.56, 140.01°)
OKLaboklab(54.43% -0.1276 0.0915)
OKLCHoklch(54.43% 0.157 144.3)
XYZxyz(9.5877, 17.5469, 5.1666)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21862B #86217C
analogous
#498621 #21862B #21865E
triadic
#21862B #2B2186 #862B21
tetradic
#21862B #214986 #86217C #865E21
square
#21862B #214986 #86217C #865E21
split-complementary
#21862B #5E2186 #862149
monochromatic
#09240B #15551B #21862B #2DB73B #4ED35B

Accessibility & contrast

On white

4.66
#21862B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#21862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21862B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21862B#FFFFFF#000000##FFFFFF
##21862B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21862b;
/* rgb */ color: rgb(33, 134, 43);
/* oklch */ color: oklch(54.4% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#6daa69',
    500: '#21862b',
    950: '#000000',
  },
}
SCSS
$custom: #21862b;
$custom-light: #6daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#21862b",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 125.941,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.157,
    "h": 144.3
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#21862B
secondary
#B74CAC
accent
#44D4E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21862B

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

Preview Lab → · Contrast checker → · Palette generator →

#21862B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva