#21560F#21560F

#21560F is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.115 H 139.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#21560F
RGBrgb(33, 86, 15)
HSLhsl(105, 70%, 20%)
HSVhsv(105, 83%, 34%)
CMYKcmyk(61.6%, 0%, 82.6%, 66.3%)
CIE-LABlab(31.84, -31.68, 33.57)
CIE-LCHlch(31.84, 46.16, 133.35°)
OKLaboklab(40.19% -0.0872 0.0751)
OKLCHoklch(40.19% 0.115 139.3)
XYZxyz(4.0410, 7.0131, 1.5925)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21560F #440F56
analogous
#44560F #21560F #0F5621
triadic
#21560F #0F2156 #560F21
tetradic
#21560F #0F4456 #440F56 #56210F
square
#21560F #0F4456 #440F56 #56210F
split-complementary
#21560F #210F56 #560F44
monochromatic
#0A1A05 #0D2206 #21560F #358A18 #49BE21

Accessibility & contrast

On white

8.74
#21560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#21560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21560F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21560F#FFFFFF#000000##FFFFFF
##21560F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#1B5349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #21560f;
/* rgb */ color: rgb(33, 86, 15);
/* oklch */ color: oklch(40.2% 0.115 139.3);
Tailwind
colors: {
  custom: {
    50: '#648653',
    500: '#21560f',
    950: '#000000',
  },
}
SCSS
$custom: #21560f;
$custom-light: #648653;
$custom-dark: #000000;
JSON
{
  "hex": "#21560f",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 104.789,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.11513,
    "h": 139.3
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#21560F
secondary
#783190
accent
#3BEDC0
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21560F

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

Preview Lab → · Contrast checker → · Palette generator →

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