#213F04#213F04

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

Color values

HEX#213F04
RGBrgb(33, 63, 4)
HSLhsl(91, 88%, 13%)
HSVhsv(91, 94%, 25%)
CMYKcmyk(47.6%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.29, -22.14, 29.62)
CIE-LCHlch(23.29, 36.98, 126.78°)
OKLaboklab(33.14% -0.0624 0.0653)
OKLCHoklch(33.14% 0.09 133.7)
XYZxyz(2.4266, 3.8870, 0.7372)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F04 #22043F
analogous
#3E3F04 #213F04 #043F04
triadic
#213F04 #04213F #3F0421
tetradic
#213F04 #043E3F #22043F #3F0404
square
#213F04 #043E3F #22043F #3F0404
split-complementary
#213F04 #04043F #3F043E
monochromatic
#0F1D02 #0F1D02 #213F04 #3F7908 #5DB20B

Accessibility & contrast

On white

11.82
#213F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213F04
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F04#FFFFFF#000000##FFFFFF
##213F041.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213f04;
/* rgb */ color: rgb(33, 63, 4);
/* oklch */ color: oklch(33.1% 0.090 133.7);
Tailwind
colors: {
  custom: {
    50: '#60744a',
    500: '#213f04',
    950: '#000000',
  },
}
SCSS
$custom: #213f04;
$custom-light: #60744a;
$custom-dark: #000000;
JSON
{
  "hex": "#213f04",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 90.508,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.09038,
    "h": 133.7
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#213F04
secondary
#501E80
accent
#2AFE96
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213F04

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

Preview Lab → · Contrast checker → · Palette generator →

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