#21580F#21580F

#21580F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.118 H 139.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#21580F
RGBrgb(33, 88, 15)
HSLhsl(105, 71%, 20%)
HSVhsv(105, 83%, 35%)
CMYKcmyk(62.5%, 0%, 83%, 65.5%)
CIE-LABlab(32.56, -32.51, 34.27)
CIE-LCHlch(32.56, 47.23, 133.49°)
OKLaboklab(40.79% -0.0894 0.0766)
OKLCHoklch(40.79% 0.118 139.4)
XYZxyz(4.2030, 7.3369, 1.6465)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21580F #460F58
analogous
#46580F #21580F #0F5821
triadic
#21580F #0F2158 #580F21
tetradic
#21580F #0F4658 #460F58 #58210F
square
#21580F #0F4658 #460F58 #58210F
split-complementary
#21580F #210F58 #580F46
monochromatic
#0A1A04 #0D2406 #21580F #358C18 #48C121

Accessibility & contrast

On white

8.51
#21580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#21580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21580F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21580F#FFFFFF#000000##FFFFFF
##21580F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#1B554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #21580f;
/* rgb */ color: rgb(33, 88, 15);
/* oklch */ color: oklch(40.8% 0.118 139.4);
Tailwind
colors: {
  custom: {
    50: '#648854',
    500: '#21580f',
    950: '#000000',
  },
}
SCSS
$custom: #21580f;
$custom-light: #648854;
$custom-dark: #000000;
JSON
{
  "hex": "#21580f",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 105.205,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.11777,
    "h": 139.4
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#21580F
secondary
#7A3192
accent
#3AEEC1
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21580F

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

Preview Lab → · Contrast checker → · Palette generator →

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