#21330C#21330C

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

Color values

HEX#21330C
RGBrgb(33, 51, 12)
HSLhsl(88, 62%, 12%)
HSVhsv(88, 76%, 20%)
CMYKcmyk(35.3%, 0%, 76.5%, 80%)
CIE-LABlab(18.88, -15.17, 21.48)
CIE-LCHlch(18.88, 26.29, 125.22°)
OKLaboklab(29.55% -0.0427 0.0498)
OKLCHoklch(29.55% 0.066 130.6)
XYZxyz(1.8774, 2.7175, 0.7734)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21330C #1E0C33
analogous
#33320C #21330C #0E330C
triadic
#21330C #0C2133 #330C21
tetradic
#21330C #0C3332 #1E0C33 #330C0E
square
#21330C #0C3332 #1E0C33 #330C0E
split-complementary
#21330C #0C0E33 #320C33
monochromatic
#101906 #101906 #21330C #416518 #619623

Accessibility & contrast

On white

13.60
#21330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21330C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21330C#FFFFFF#000000##FFFFFF
##21330C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F07
Deuteranopia (green-blind)
#332D0F
Tritanopia (blue-blind)
#22312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21330c;
/* rgb */ color: rgb(33, 51, 12);
/* oklch */ color: oklch(29.5% 0.066 130.6);
Tailwind
colors: {
  custom: {
    50: '#5e6a4d',
    500: '#21330c',
    950: '#000000',
  },
}
SCSS
$custom: #21330c;
$custom-light: #5e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21330c",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 87.692,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.06559,
    "h": 130.6
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#21330C
secondary
#4B2C6F
accent
#43E58E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21330C

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

Preview Lab → · Contrast checker → · Palette generator →

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