#21671A#21671A

#21671A is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.130 H 141.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#21671A
RGBrgb(33, 103, 26)
HSLhsl(115, 60%, 25%)
HSVhsv(115, 75%, 40%)
CMYKcmyk(68%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.02, -37.54, 35.34)
CIE-LCHlch(38.02, 51.56, 136.73°)
OKLaboklab(45.33% -0.1023 0.0805)
OKLCHoklch(45.33% 0.13 141.8)
XYZxyz(5.6636, 10.0978, 2.6277)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21671A #601A67
analogous
#48671A #21671A #1A6739
triadic
#21671A #1A2167 #671A21
tetradic
#21671A #1A4867 #601A67 #67391A
square
#21671A #1A4867 #601A67 #67391A
split-complementary
#21671A #391A67 #671A48
monochromatic
#081806 #11360E #21671A #319826 #40C933

Accessibility & contrast

On white

6.95
#21671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#21671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21671A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21671A#FFFFFF#000000##FFFFFF
##21671A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#146458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #21671a;
/* rgb */ color: rgb(33, 103, 26);
/* oklch */ color: oklch(45.3% 0.130 141.8);
Tailwind
colors: {
  custom: {
    50: '#67935b',
    500: '#21671a',
    950: '#000000',
  },
}
SCSS
$custom: #21671a;
$custom-light: #67935b;
$custom-dark: #000000;
JSON
{
  "hex": "#21671a",
  "rgb": {
    "r": 33,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 114.545,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.13021,
    "h": 141.8
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#21671A
secondary
#94409D
accent
#45E3D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #21671A

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

Preview Lab → · Contrast checker → · Palette generator →

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