#213308#213308

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

Color values

HEX#213308
RGBrgb(33, 51, 8)
HSLhsl(85, 73%, 12%)
HSVhsv(85, 84%, 20%)
CMYKcmyk(35.3%, 0%, 84.3%, 80%)
CIE-LABlab(18.84, -15.54, 23.11)
CIE-LCHlch(18.84, 27.85, 123.92°)
OKLaboklab(29.51% -0.0442 0.0533)
OKLCHoklch(29.51% 0.069 129.7)
XYZxyz(1.8548, 2.7085, 0.6547)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213308 #1A0833
analogous
#333008 #213308 #0C3308
triadic
#213308 #082133 #330821
tetradic
#213308 #083330 #1A0833 #33080C
square
#213308 #083330 #1A0833 #33080C
split-complementary
#213308 #080C33 #300833
monochromatic
#111A04 #111A04 #213308 #436810 #659D19

Accessibility & contrast

On white

13.62
#213308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213308
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213308#FFFFFF#000000##FFFFFF
##2133081.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213308;
/* rgb */ color: rgb(33, 51, 8);
/* oklch */ color: oklch(29.5% 0.069 129.7);
Tailwind
colors: {
  custom: {
    50: '#5e6a4b',
    500: '#213308',
    950: '#000000',
  },
}
SCSS
$custom: #213308;
$custom-light: #5e6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#213308",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 85.116,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.06921,
    "h": 129.7
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#213308
secondary
#452572
accent
#38F085
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213308

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

Preview Lab → · Contrast checker → · Palette generator →

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