#21350B#21350B

#21350B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.1% C 0.070 H 131.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#21350B
RGBrgb(33, 53, 11)
HSLhsl(89, 66%, 13%)
HSVhsv(89, 79%, 21%)
CMYKcmyk(37.7%, 0%, 79.2%, 79.2%)
CIE-LABlab(19.61, -16.37, 22.78)
CIE-LCHlch(19.61, 28.05, 125.71°)
OKLaboklab(30.15% -0.0461 0.0523)
OKLCHoklch(30.15% 0.07 131.4)
XYZxyz(1.9607, 2.8936, 0.7718)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21350B #1F0B35
analogous
#35340B #21350B #0C350B
triadic
#21350B #0B2135 #350B21
tetradic
#21350B #0B3534 #1F0B35 #350B0C
square
#21350B #0B3534 #1F0B35 #350B0C
split-complementary
#21350B #0B0C35 #340B35
monochromatic
#101905 #101905 #21350B #416816 #609A20

Accessibility & contrast

On white

13.30
#21350B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#21350B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21350B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21350B#FFFFFF#000000##FFFFFF
##21350B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383006
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#22322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #21350b;
/* rgb */ color: rgb(33, 53, 11);
/* oklch */ color: oklch(30.1% 0.070 131.4);
Tailwind
colors: {
  custom: {
    50: '#5e6c4d',
    500: '#21350b',
    950: '#000000',
  },
}
SCSS
$custom: #21350b;
$custom-light: #5e6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21350b",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 88.571,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.06977,
    "h": 131.4
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#21350B
secondary
#4C2A72
accent
#3FE990
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21350B

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

Preview Lab → · Contrast checker → · Palette generator →

#21350B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva