#213C0B#213C0B

#213C0B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.081 H 134.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#213C0B
RGBrgb(33, 60, 11)
HSLhsl(93, 69%, 14%)
HSVhsv(93, 82%, 24%)
CMYKcmyk(45%, 0%, 81.7%, 76.5%)
CIE-LABlab(22.23, -20.08, 25.65)
CIE-LCHlch(22.23, 32.58, 128.06°)
OKLaboklab(32.28% -0.0562 0.058)
OKLCHoklch(32.28% 0.081 134.1)
XYZxyz(2.3034, 3.5791, 0.8860)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0B #260B3C
analogous
#3A3C0B #213C0B #0B3C0E
triadic
#213C0B #0B213C #3C0B21
tetradic
#213C0B #0B3A3C #260B3C #3C0E0B
square
#213C0B #0B3A3C #260B3C #3C0E0B
split-complementary
#213C0B #0E0B3C #3C0B3A
monochromatic
#0E1A05 #0E1A05 #213C0B #3D7014 #5AA31E

Accessibility & contrast

On white

12.24
#213C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#213C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C0B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0B#FFFFFF#000000##FFFFFF
##213C0B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3704
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#213932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c0b;
/* rgb */ color: rgb(33, 60, 11);
/* oklch */ color: oklch(32.3% 0.081 134.1);
Tailwind
colors: {
  custom: {
    50: '#5f724d',
    500: '#213c0b',
    950: '#000000',
  },
}
SCSS
$custom: #213c0b;
$custom-light: #5f724d;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0b",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 93.061,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.08078,
    "h": 134.1
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#213C0B
secondary
#552A79
accent
#3CEC9D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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