#21530F#21530F

#21530F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.111 H 139.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#21530F
RGBrgb(33, 83, 15)
HSLhsl(104, 69%, 19%)
HSVhsv(104, 82%, 33%)
CMYKcmyk(60.2%, 0%, 81.9%, 67.5%)
CIE-LABlab(30.75, -30.42, 32.50)
CIE-LCHlch(30.75, 44.52, 133.11°)
OKLaboklab(39.29% -0.0838 0.0729)
OKLCHoklch(39.29% 0.111 139)
XYZxyz(3.8065, 6.5440, 1.5144)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21530F #410F53
analogous
#43530F #21530F #0F531F
triadic
#21530F #0F2153 #530F21
tetradic
#21530F #0F4353 #410F53 #531F0F
square
#21530F #0F4353 #410F53 #531F0F
split-complementary
#21530F #1F0F53 #530F43
monochromatic
#0A1A05 #0C1F06 #21530F #368718 #4ABB22

Accessibility & contrast

On white

9.10
#21530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21530F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21530F#FFFFFF#000000##FFFFFF
##21530F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#1C5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21530f;
/* rgb */ color: rgb(33, 83, 15);
/* oklch */ color: oklch(39.3% 0.111 139.0);
Tailwind
colors: {
  custom: {
    50: '#638453',
    500: '#21530f',
    950: '#000000',
  },
}
SCSS
$custom: #21530f;
$custom-light: #638453;
$custom-dark: #000000;
JSON
{
  "hex": "#21530f",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 104.118,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.1111,
    "h": 139
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#21530F
secondary
#75318D
accent
#3CECBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #21530F

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

Preview Lab → · Contrast checker → · Palette generator →

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