#213512#213512

#213512 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.063 H 133.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#213512
RGBrgb(33, 53, 18)
HSLhsl(94, 49%, 14%)
HSVhsv(94, 66%, 21%)
CMYKcmyk(37.7%, 0%, 66%, 79.2%)
CIE-LABlab(19.69, -15.59, 19.26)
CIE-LCHlch(19.69, 24.78, 128.99°)
OKLaboklab(30.24% -0.0433 0.0454)
OKLCHoklch(30.24% 0.063 133.6)
XYZxyz(2.0094, 2.9131, 1.0286)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213512 #261235
analogous
#333512 #213512 #123515
triadic
#213512 #122135 #351221
tetradic
#213512 #123335 #261235 #351512
square
#213512 #123335 #261235 #351512
split-complementary
#213512 #151235 #351233
monochromatic
#0E1708 #0E1708 #213512 #3D6322 #5A9031

Accessibility & contrast

On white

13.27
#213512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#213512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213512
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213512#FFFFFF#000000##FFFFFF
##2135121.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37310F
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#21332D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #213512;
/* rgb */ color: rgb(33, 53, 18);
/* oklch */ color: oklch(30.2% 0.063 133.6);
Tailwind
colors: {
  custom: {
    50: '#5e6c51',
    500: '#213512',
    950: '#000000',
  },
}
SCSS
$custom: #213512;
$custom-light: #5e6c51;
$custom-dark: #000000;
JSON
{
  "hex": "#213512",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30237,
    "c": 0.06272,
    "h": 133.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#213512
secondary
#55356D
accent
#4FD99E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213512

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

Preview Lab → · Contrast checker → · Palette generator →

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