#213306#213306

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

Color values

HEX#213306
RGBrgb(33, 51, 6)
HSLhsl(84, 79%, 11%)
HSVhsv(84, 88%, 20%)
CMYKcmyk(35.3%, 0%, 88.2%, 80%)
CIE-LABlab(18.82, -15.73, 23.90)
CIE-LCHlch(18.82, 28.61, 123.34°)
OKLaboklab(29.48% -0.0449 0.0551)
OKLCHoklch(29.48% 0.071 129.2)
XYZxyz(1.8439, 2.7041, 0.5971)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213306 #180633
analogous
#332E06 #213306 #0A3306
triadic
#213306 #062133 #330621
tetradic
#213306 #06332E #180633 #33060A
square
#213306 #06332E #180633 #33060A
split-complementary
#213306 #060A33 #2E0633
monochromatic
#121B03 #121B03 #213306 #446A0C #68A113

Accessibility & contrast

On white

13.63
#213306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#213306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213306
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213306#FFFFFF#000000##FFFFFF
##2133061.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F01
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#22302A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213306;
/* rgb */ color: rgb(33, 51, 6);
/* oklch */ color: oklch(29.5% 0.071 129.2);
Tailwind
colors: {
  custom: {
    50: '#5e6a4a',
    500: '#213306',
    950: '#000000',
  },
}
SCSS
$custom: #213306;
$custom-light: #5e6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#213306",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 84,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29484,
    "c": 0.07105,
    "h": 129.2
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#213306
secondary
#422174
accent
#32F580
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213306

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

Preview Lab → · Contrast checker → · Palette generator →

#213306 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva