#21681E#21681E

#21681E is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.129 H 142.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#21681E
RGBrgb(33, 104, 30)
HSLhsl(118, 55%, 26%)
HSVhsv(118, 71%, 41%)
CMYKcmyk(68.3%, 0%, 71.2%, 59.2%)
CIE-LABlab(38.41, -37.53, 33.98)
CIE-LCHlch(38.41, 50.63, 137.84°)
OKLaboklab(45.66% -0.1021 0.0782)
OKLCHoklch(45.66% 0.129 142.6)
XYZxyz(5.8115, 10.3171, 2.9132)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21681E #651E68
analogous
#46681E #21681E #1E6840
triadic
#21681E #1E2168 #681E21
tetradic
#21681E #1E4668 #651E68 #68401E
square
#21681E #1E4668 #651E68 #68401E
split-complementary
#21681E #401E68 #681E46
monochromatic
#081807 #123910 #21681E #30982C #40C63A

Accessibility & contrast

On white

6.85
#21681E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#21681E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21681E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21681E#FFFFFF#000000##FFFFFF
##21681E1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#126559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #21681e;
/* rgb */ color: rgb(33, 104, 30);
/* oklch */ color: oklch(45.7% 0.129 142.6);
Tailwind
colors: {
  custom: {
    50: '#67945e',
    500: '#21681e',
    950: '#000000',
  },
}
SCSS
$custom: #21681e;
$custom-light: #67945e;
$custom-dark: #000000;
JSON
{
  "hex": "#21681e",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 117.568,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.12859,
    "h": 142.6
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#21681E
secondary
#99459D
accent
#49DFD8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #21681E

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

Preview Lab → · Contrast checker → · Palette generator →

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