#213F0D#213F0D

#213F0D is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.084 H 135.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#213F0D
RGBrgb(33, 63, 13)
HSLhsl(96, 66%, 15%)
HSVhsv(96, 79%, 25%)
CMYKcmyk(47.6%, 0%, 79.4%, 75.3%)
CIE-LABlab(23.36, -21.42, 25.92)
CIE-LCHlch(23.36, 33.63, 129.57°)
OKLaboklab(33.22% -0.0597 0.0588)
OKLCHoklch(33.22% 0.084 135.4)
XYZxyz(2.4773, 3.9073, 1.0043)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F0D #2B0D3F
analogous
#3A3F0D #213F0D #0D3F12
triadic
#213F0D #0D213F #3F0D21
tetradic
#213F0D #0D3A3F #2B0D3F #3F120D
square
#213F0D #0D3A3F #2B0D3F #3F120D
split-complementary
#213F0D #120D3F #3F0D3A
monochromatic
#0D1905 #0D1905 #213F0D #3C7217 #56A422

Accessibility & contrast

On white

11.79
#213F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F0D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F0D#FFFFFF#000000##FFFFFF
##213F0D1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423906
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#203C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213f0d;
/* rgb */ color: rgb(33, 63, 13);
/* oklch */ color: oklch(33.2% 0.084 135.4);
Tailwind
colors: {
  custom: {
    50: '#5f744f',
    500: '#213f0d',
    950: '#000000',
  },
}
SCSS
$custom: #213f0d;
$custom-light: #5f744f;
$custom-dark: #000000;
JSON
{
  "hex": "#213f0d",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 96,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33215,
    "c": 0.0838,
    "h": 135.4
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#213F0D
secondary
#5C2D7B
accent
#3FE9A5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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