#213412#213412

#213412 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.061 H 133.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#213412
RGBrgb(33, 52, 18)
HSLhsl(94, 49%, 14%)
HSVhsv(94, 65%, 20%)
CMYKcmyk(36.5%, 0%, 65.4%, 79.6%)
CIE-LABlab(19.32, -15.03, 18.83)
CIE-LCHlch(19.32, 24.09, 128.60°)
OKLaboklab(29.94% -0.0417 0.0445)
OKLCHoklch(29.94% 0.061 133.2)
XYZxyz(1.9643, 2.8229, 1.0135)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213412 #251234
analogous
#323412 #213412 #123414
triadic
#213412 #122134 #341221
tetradic
#213412 #123234 #251234 #341412
square
#213412 #123234 #251234 #341412
split-complementary
#213412 #141234 #341232
monochromatic
#0E1708 #0E1708 #213412 #3E6122 #5B8F31

Accessibility & contrast

On white

13.42
#213412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#213412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213412
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213412#FFFFFF#000000##FFFFFF
##2134121.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#342E14
Tritanopia (blue-blind)
#21322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #213412;
/* rgb */ color: rgb(33, 52, 18);
/* oklch */ color: oklch(29.9% 0.061 133.2);
Tailwind
colors: {
  custom: {
    50: '#5e6b51',
    500: '#213412',
    950: '#000000',
  },
}
SCSS
$custom: #213412;
$custom-light: #5e6b51;
$custom-dark: #000000;
JSON
{
  "hex": "#213412",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 18
  },
  "hsl": {
    "h": 93.529,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29935,
    "c": 0.06098,
    "h": 133.2
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#213412
secondary
#54356C
accent
#50D89C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #213412

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

Preview Lab → · Contrast checker → · Palette generator →

#213412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva