#21330A#21330A

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

Color values

HEX#21330A
RGBrgb(33, 51, 10)
HSLhsl(86, 67%, 12%)
HSVhsv(86, 80%, 20%)
CMYKcmyk(35.3%, 0%, 80.4%, 80%)
CIE-LABlab(18.85, -15.36, 22.32)
CIE-LCHlch(18.85, 27.09, 124.53°)
OKLaboklab(29.53% -0.0434 0.0516)
OKLCHoklch(29.53% 0.067 130.1)
XYZxyz(1.8658, 2.7128, 0.7124)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21330A #1C0A33
analogous
#33310A #21330A #0D330A
triadic
#21330A #0A2133 #330A21
tetradic
#21330A #0A3331 #1C0A33 #330A0D
square
#21330A #0A3331 #1C0A33 #330A0D
split-complementary
#21330A #0A0D33 #310A33
monochromatic
#111A05 #111A05 #21330A #426614 #63991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21330A#FFFFFF#000000##FFFFFF
##21330A1.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)
#362F05
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#22302B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21330a;
/* rgb */ color: rgb(33, 51, 10);
/* oklch */ color: oklch(29.5% 0.067 130.1);
Tailwind
colors: {
  custom: {
    50: '#5e6a4c',
    500: '#21330a',
    950: '#000000',
  },
}
SCSS
$custom: #21330a;
$custom-light: #5e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21330a",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 86.341,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29527,
    "c": 0.06742,
    "h": 130.1
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#21330A
secondary
#482870
accent
#3EEA89
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21330A

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

Preview Lab → · Contrast checker → · Palette generator →

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