#21851E#21851E

#21851E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.164 H 142.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#21851E
RGBrgb(33, 133, 30)
HSLhsl(118, 63%, 32%)
HSVhsv(118, 77%, 52%)
CMYKcmyk(75.2%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.50, -48.04, 44.40)
CIE-LCHlch(48.50, 65.41, 137.26°)
OKLaboklab(54.03% -0.1306 0.1)
OKLCHoklch(54.03% 0.164 142.6)
XYZxyz(9.2485, 17.1911, 4.0588)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21851E #821E85
analogous
#55851E #21851E #1E854E
triadic
#21851E #1E2185 #851E21
tetradic
#21851E #1E5585 #821E85 #854E1E
square
#21851E #1E5585 #821E85 #854E1E
split-complementary
#21851E #4E1E85 #851E55
monochromatic
#082107 #155313 #21851E #2DB729 #4CD648

Accessibility & contrast

On white

4.73
#21851E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#21851E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21851E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21851E#FFFFFF#000000##FFFFFF
##21851E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21851e;
/* rgb */ color: rgb(33, 133, 30);
/* oklch */ color: oklch(54.0% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa62',
    500: '#21851e',
    950: '#000000',
  },
}
SCSS
$custom: #21851e;
$custom-light: #6eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#21851e",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 118.252,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.16445,
    "h": 142.6
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21851E

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

Preview Lab → · Contrast checker → · Palette generator →

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