#213B07#213B07

#213B07 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 31.9% C 0.082 H 133.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#213B07
RGBrgb(33, 59, 7)
HSLhsl(90, 79%, 13%)
HSVhsv(90, 88%, 23%)
CMYKcmyk(44.1%, 0%, 88.1%, 76.9%)
CIE-LABlab(21.82, -19.90, 26.86)
CIE-LCHlch(21.82, 33.43, 126.53°)
OKLaboklab(31.94% -0.0561 0.0602)
OKLCHoklch(31.94% 0.082 133)
XYZxyz(2.2295, 3.4665, 0.7526)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B07 #21073B
analogous
#3B3B07 #213B07 #073B07
triadic
#213B07 #07213B #3B0721
tetradic
#213B07 #073B3B #21073B #3B0707
square
#213B07 #073B3B #21073B #3B0707
split-complementary
#213B07 #07073B #3B073B
monochromatic
#0F1B03 #0F1B03 #213B07 #40720D #5EA814

Accessibility & contrast

On white

12.40
#213B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#213B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B07
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B07#FFFFFF#000000##FFFFFF
##213B071.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#213831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b07;
/* rgb */ color: rgb(33, 59, 7);
/* oklch */ color: oklch(31.9% 0.082 133.0);
Tailwind
colors: {
  custom: {
    50: '#5f714b',
    500: '#213b07',
    950: '#000000',
  },
}
SCSS
$custom: #213b07;
$custom-light: #5f714b;
$custom-dark: #000000;
JSON
{
  "hex": "#213b07",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31939,
    "c": 0.0823,
    "h": 133
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#213B07
secondary
#4F237A
accent
#33F594
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B07

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

Preview Lab → · Contrast checker → · Palette generator →

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