#21862A#21862A

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

Color values

HEX#21862A
RGBrgb(33, 134, 42)
HSLhsl(125, 60%, 33%)
HSVhsv(125, 75%, 53%)
CMYKcmyk(75.4%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.93, -47.28, 39.99)
CIE-LCHlch(48.93, 61.92, 139.77°)
OKLaboklab(54.42% -0.1279 0.0923)
OKLCHoklch(54.42% 0.158 144.2)
XYZxyz(9.5696, 17.5396, 5.0712)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21862A #86217D
analogous
#4A8621 #21862A #21865D
triadic
#21862A #2A2186 #862A21
tetradic
#21862A #214A86 #86217D #865D21
square
#21862A #214A86 #86217D #865D21
split-complementary
#21862A #5D2186 #86214A
monochromatic
#09240B #15551B #21862A #2DB739 #4ED35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21862A#FFFFFF#000000##FFFFFF
##21862A1.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)
#89791E
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21862a;
/* rgb */ color: rgb(33, 134, 42);
/* oklch */ color: oklch(54.4% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daa68',
    500: '#21862a',
    950: '#000000',
  },
}
SCSS
$custom: #21862a;
$custom-light: #6daa68;
$custom-dark: #000000;
JSON
{
  "hex": "#21862a",
  "rgb": {
    "r": 33,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 125.347,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.15774,
    "h": 144.2
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#21862A
secondary
#B74CAD
accent
#44D5E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21862A

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

Preview Lab → · Contrast checker → · Palette generator →

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