#213F05#213F05

#213F05 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.1% C 0.090 H 133.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#213F05
RGBrgb(33, 63, 5)
HSLhsl(91, 85%, 13%)
HSVhsv(91, 92%, 25%)
CMYKcmyk(47.6%, 0%, 92.1%, 75.3%)
CIE-LABlab(23.30, -22.06, 29.22)
CIE-LCHlch(23.30, 36.61, 127.06°)
OKLaboklab(33.15% -0.0621 0.0646)
OKLCHoklch(33.15% 0.09 133.9)
XYZxyz(2.4321, 3.8892, 0.7661)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F05 #23053F
analogous
#3E3F05 #213F05 #053F06
triadic
#213F05 #05213F #3F0521
tetradic
#213F05 #053E3F #23053F #3F0605
square
#213F05 #053E3F #23053F #3F0605
split-complementary
#213F05 #06053F #3F053E
monochromatic
#0F1C02 #0F1C02 #213F05 #3F7809 #5CB00E

Accessibility & contrast

On white

11.81
#213F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213F05
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F05#FFFFFF#000000##FFFFFF
##213F051.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#213C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213f05;
/* rgb */ color: rgb(33, 63, 5);
/* oklch */ color: oklch(33.1% 0.090 133.9);
Tailwind
colors: {
  custom: {
    50: '#60744b',
    500: '#213f05',
    950: '#000000',
  },
}
SCSS
$custom: #213f05;
$custom-light: #60744b;
$custom-dark: #000000;
JSON
{
  "hex": "#213f05",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 91.034,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.08964,
    "h": 133.9
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#213F05
secondary
#522080
accent
#2CFC97
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213F05

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

Preview Lab → · Contrast checker → · Palette generator →

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