#213C0C#213C0C

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

Color values

HEX#213C0C
RGBrgb(33, 60, 12)
HSLhsl(94, 67%, 14%)
HSVhsv(94, 80%, 24%)
CMYKcmyk(45%, 0%, 80%, 76.5%)
CIE-LABlab(22.24, -19.99, 25.22)
CIE-LCHlch(22.24, 32.18, 128.41°)
OKLaboklab(32.29% -0.0559 0.0572)
OKLCHoklch(32.29% 0.08 134.3)
XYZxyz(2.3094, 3.5815, 0.9174)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0C #270C3C
analogous
#393C0C #213C0C #0C3C0F
triadic
#213C0C #0C213C #3C0C21
tetradic
#213C0C #0C393C #270C3C #3C0F0C
square
#213C0C #0C393C #270C3C #3C0F0C
split-complementary
#213C0C #0F0C3C #3C0C39
monochromatic
#0E1A05 #0E1A05 #213C0C #3D6F16 #59A220

Accessibility & contrast

On white

12.23
#213C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213C0C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0C#FFFFFF#000000##FFFFFF
##213C0C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213c0c;
/* rgb */ color: rgb(33, 60, 12);
/* oklch */ color: oklch(32.3% 0.080 134.3);
Tailwind
colors: {
  custom: {
    50: '#5f724e',
    500: '#213c0c',
    950: '#000000',
  },
}
SCSS
$custom: #213c0c;
$custom-light: #5f724e;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0c",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 93.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.07999,
    "h": 134.3
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#213C0C
secondary
#572C78
accent
#3EEA9F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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