#213A07#213A07

#213A07 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.6% C 0.081 H 132.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#213A07
RGBrgb(33, 58, 7)
HSLhsl(89, 78%, 13%)
HSVhsv(89, 88%, 23%)
CMYKcmyk(43.1%, 0%, 87.9%, 77.3%)
CIE-LABlab(21.45, -19.39, 26.46)
CIE-LCHlch(21.45, 32.80, 126.23°)
OKLaboklab(31.63% -0.0547 0.0595)
OKLCHoklch(31.63% 0.081 132.6)
XYZxyz(2.1786, 3.3647, 0.7356)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A07 #20073A
analogous
#3A3907 #213A07 #073A07
triadic
#213A07 #07213A #3A0721
tetradic
#213A07 #073A39 #20073A #3A0707
square
#213A07 #073A39 #20073A #3A0707
split-complementary
#213A07 #07073A #39073A
monochromatic
#101B03 #101B03 #213A07 #40710E #5FA714

Accessibility & contrast

On white

12.55
#213A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A07
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A07#FFFFFF#000000##FFFFFF
##213A071.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#39330C
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a07;
/* rgb */ color: rgb(33, 58, 7);
/* oklch */ color: oklch(31.6% 0.081 132.6);
Tailwind
colors: {
  custom: {
    50: '#5f704b',
    500: '#213a07',
    950: '#000000',
  },
}
SCSS
$custom: #213a07;
$custom-light: #5f704b;
$custom-dark: #000000;
JSON
{
  "hex": "#213a07",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 89.412,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.08081,
    "h": 132.6
  },
  "luminance": 0.03365
}

Semantic roles & 50–950 ramp

primary
#213A07
secondary
#4E2379
accent
#33F592
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A07

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

Preview Lab → · Contrast checker → · Palette generator →

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