#213C0F#213C0F

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

Color values

HEX#213C0F
RGBrgb(33, 60, 15)
HSLhsl(96, 60%, 15%)
HSVhsv(96, 75%, 24%)
CMYKcmyk(45%, 0%, 75%, 76.5%)
CIE-LABlab(22.26, -19.70, 23.79)
CIE-LCHlch(22.26, 30.89, 129.64°)
OKLaboklab(32.32% -0.0548 0.0547)
OKLCHoklch(32.32% 0.077 135.1)
XYZxyz(2.3292, 3.5894, 1.0219)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0F #2A0F3C
analogous
#383C0F #213C0F #0F3C14
triadic
#213C0F #0F213C #3C0F21
tetradic
#213C0F #0F383C #2A0F3C #3C140F
square
#213C0F #0F383C #2A0F3C #3C140F
split-complementary
#213C0F #140F3C #3C0F38
monochromatic
#0D1806 #0D1806 #213C0F #3C6D1B #579E27

Accessibility & contrast

On white

12.22
#213C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213C0F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0F#FFFFFF#000000##FFFFFF
##213C0F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3709
Deuteranopia (green-blind)
#3B3413
Tritanopia (blue-blind)
#203933
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c0f;
/* rgb */ color: rgb(33, 60, 15);
/* oklch */ color: oklch(32.3% 0.077 135.1);
Tailwind
colors: {
  custom: {
    50: '#5f7250',
    500: '#213c0f',
    950: '#000000',
  },
}
SCSS
$custom: #213c0f;
$custom-light: #5f7250;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0f",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 96,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32323,
    "c": 0.07742,
    "h": 135.1
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#213C0F
secondary
#5A3076
accent
#45E3A4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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