#21330F#21330F

#21330F is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.063 H 131.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#21330F
RGBrgb(33, 51, 15)
HSLhsl(90, 55%, 13%)
HSVhsv(90, 71%, 20%)
CMYKcmyk(35.3%, 0%, 70.6%, 80%)
CIE-LABlab(18.91, -14.84, 20.04)
CIE-LCHlch(18.91, 24.94, 126.51°)
OKLaboklab(29.59% -0.0415 0.0468)
OKLCHoklch(29.59% 0.063 131.6)
XYZxyz(1.8972, 2.7254, 0.8779)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21330F #210F33
analogous
#33330F #21330F #0F330F
triadic
#21330F #0F2133 #330F21
tetradic
#21330F #0F3333 #210F33 #330F0F
square
#21330F #0F3333 #210F33 #330F0F
split-complementary
#21330F #0F0F33 #330F33
monochromatic
#0F1807 #0F1807 #21330F #40621D #5E922B

Accessibility & contrast

On white

13.59
#21330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#21330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21330F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21330F#FFFFFF#000000##FFFFFF
##21330F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0B
Deuteranopia (green-blind)
#332D12
Tritanopia (blue-blind)
#22312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21330f;
/* rgb */ color: rgb(33, 51, 15);
/* oklch */ color: oklch(29.6% 0.063 131.6);
Tailwind
colors: {
  custom: {
    50: '#5e6a4f',
    500: '#21330f',
    950: '#000000',
  },
}
SCSS
$custom: #21330f;
$custom-light: #5e6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21330f",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 90,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.06255,
    "h": 131.6
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#21330F
secondary
#4F316D
accent
#4ADE94
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #21330F

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

Preview Lab → · Contrast checker → · Palette generator →

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