#21891F#21891F

#21891F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.169 H 142.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#21891F
RGBrgb(33, 137, 31)
HSLhsl(119, 63%, 33%)
HSVhsv(119, 77%, 54%)
CMYKcmyk(75.9%, 0%, 77.4%, 46.3%)
CIE-LABlab(49.87, -49.32, 45.40)
CIE-LCHlch(49.87, 67.03, 137.37°)
OKLaboklab(55.17% -0.134 0.1022)
OKLCHoklch(55.17% 0.169 142.7)
XYZxyz(9.8196, 18.3125, 4.3132)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21891F #871F89
analogous
#56891F #21891F #1F8952
triadic
#21891F #1F2189 #891F21
tetradic
#21891F #1F5689 #871F89 #89521F
square
#21891F #1F5689 #871F89 #89521F
split-complementary
#21891F #521F89 #891F56
monochromatic
#092508 #155714 #21891F #2DBB2A #4FD64C

Accessibility & contrast

On white

4.50
#21891F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#21891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21891F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21891F#FFFFFF#000000##000000
##21891F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21891f;
/* rgb */ color: rgb(33, 137, 31);
/* oklch */ color: oklch(55.2% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fac63',
    500: '#21891f',
    950: '#000000',
  },
}
SCSS
$custom: #21891f;
$custom-light: #6fac63;
$custom-dark: #000000;
JSON
{
  "hex": "#21891f",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 118.868,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.16852,
    "h": 142.7
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#21891F
secondary
#B74BB9
accent
#42E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21891F

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

Preview Lab → · Contrast checker → · Palette generator →

#21891F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva