#213B0C#213B0C

#213B0C is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.078 H 134.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#213B0C
RGBrgb(33, 59, 12)
HSLhsl(93, 66%, 14%)
HSVhsv(93, 80%, 23%)
CMYKcmyk(44.1%, 0%, 79.7%, 76.9%)
CIE-LABlab(21.86, -19.48, 24.82)
CIE-LCHlch(21.86, 31.55, 128.13°)
OKLaboklab(31.99% -0.0545 0.0564)
OKLCHoklch(31.99% 0.078 134)
XYZxyz(2.2575, 3.4777, 0.9001)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B0C #260C3B
analogous
#393B0C #213B0C #0C3B0F
triadic
#213B0C #0C213B #3B0C21
tetradic
#213B0C #0C393B #260C3B #3B0F0C
square
#213B0C #0C393B #260C3B #3B0F0C
split-complementary
#213B0C #0F0C3B #3B0C39
monochromatic
#0E1905 #0E1905 #213B0C #3D6E16 #5AA121

Accessibility & contrast

On white

12.38
#213B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B0C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B0C#FFFFFF#000000##FFFFFF
##213B0C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#213832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b0c;
/* rgb */ color: rgb(33, 59, 12);
/* oklch */ color: oklch(32.0% 0.078 134.0);
Tailwind
colors: {
  custom: {
    50: '#5f714e',
    500: '#213b0c',
    950: '#000000',
  },
}
SCSS
$custom: #213b0c;
$custom-light: #5f714e;
$custom-dark: #000000;
JSON
{
  "hex": "#213b0c",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 93.191,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31985,
    "c": 0.07844,
    "h": 134
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#213B0C
secondary
#552C77
accent
#3FE99D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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