#213D07#213D07

#213D07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.085 H 133.6°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#213D07
RGBrgb(33, 61, 7)
HSLhsl(91, 79%, 13%)
HSVhsv(91, 89%, 24%)
CMYKcmyk(45.9%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.57, -20.91, 27.65)
CIE-LCHlch(22.57, 34.67, 127.10°)
OKLaboklab(32.55% -0.0588 0.0617)
OKLCHoklch(32.55% 0.085 133.6)
XYZxyz(2.3343, 3.6760, 0.7875)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D07 #23073D
analogous
#3C3D07 #213D07 #073D08
triadic
#213D07 #07213D #3D0721
tetradic
#213D07 #073C3D #23073D #3D0807
square
#213D07 #073C3D #23073D #3D0807
split-complementary
#213D07 #08073D #3D073C
monochromatic
#0F1B03 #0F1B03 #213D07 #3F740D #5CAB14

Accessibility & contrast

On white

12.10
#213D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#213D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D07
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D07#FFFFFF#000000##FFFFFF
##213D071.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d07;
/* rgb */ color: rgb(33, 61, 7);
/* oklch */ color: oklch(32.6% 0.085 133.6);
Tailwind
colors: {
  custom: {
    50: '#5f724b',
    500: '#213d07',
    950: '#000000',
  },
}
SCSS
$custom: #213d07;
$custom-light: #5f724b;
$custom-dark: #000000;
JSON
{
  "hex": "#213d07",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 91.111,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.08526,
    "h": 133.6
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#213D07
secondary
#52237C
accent
#32F698
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213D07

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

Preview Lab → · Contrast checker → · Palette generator →

#213D07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva