#21330B#21330B

#21330B is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.067 H 130.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#21330B
RGBrgb(33, 51, 11)
HSLhsl(87, 65%, 12%)
HSVhsv(87, 78%, 20%)
CMYKcmyk(35.3%, 0%, 78.4%, 80%)
CIE-LABlab(18.86, -15.26, 21.91)
CIE-LCHlch(18.86, 26.71, 124.86°)
OKLaboklab(29.54% -0.0431 0.0507)
OKLCHoklch(29.54% 0.067 130.4)
XYZxyz(1.8714, 2.7151, 0.7420)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21330B #1D0B33
analogous
#33310B #21330B #0D330B
triadic
#21330B #0B2133 #330B21
tetradic
#21330B #0B3331 #1D0B33 #330B0D
square
#21330B #0B3331 #1D0B33 #330B0D
split-complementary
#21330B #0B0D33 #310B33
monochromatic
#101905 #101905 #21330B #426516 #629821

Accessibility & contrast

On white

13.61
#21330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#21330B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21330B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21330B#FFFFFF#000000##FFFFFF
##21330B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F06
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#22302B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21330b;
/* rgb */ color: rgb(33, 51, 11);
/* oklch */ color: oklch(29.5% 0.067 130.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a4c',
    500: '#21330b',
    950: '#000000',
  },
}
SCSS
$custom: #21330b;
$custom-light: #5e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21330b",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 87,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29538,
    "c": 0.06652,
    "h": 130.4
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#21330B
secondary
#492A70
accent
#40E88C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21330B

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

Preview Lab → · Contrast checker → · Palette generator →

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