#213307#213307

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

Color values

HEX#213307
RGBrgb(33, 51, 7)
HSLhsl(85, 76%, 11%)
HSVhsv(85, 86%, 20%)
CMYKcmyk(35.3%, 0%, 86.3%, 80%)
CIE-LABlab(18.83, -15.63, 23.51)
CIE-LCHlch(18.83, 28.23, 123.63°)
OKLaboklab(29.49% -0.0445 0.0542)
OKLCHoklch(29.49% 0.07 129.4)
XYZxyz(1.8494, 2.7063, 0.6259)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213307 #190733
analogous
#332F07 #213307 #0B3307
triadic
#213307 #072133 #330721
tetradic
#213307 #07332F #190733 #33070B
square
#213307 #07332F #190733 #33070B
split-complementary
#213307 #070B33 #2F0733
monochromatic
#111B04 #111B04 #213307 #44690E #679F16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213307#FFFFFF#000000##FFFFFF
##2133071.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)
#362F02
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#22302A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213307;
/* rgb */ color: rgb(33, 51, 7);
/* oklch */ color: oklch(29.5% 0.070 129.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a4a',
    500: '#213307',
    950: '#000000',
  },
}
SCSS
$custom: #213307;
$custom-light: #5e6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#213307",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 84.545,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.07012,
    "h": 129.4
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#213307
secondary
#442373
accent
#35F283
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213307

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

Preview Lab → · Contrast checker → · Palette generator →

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