#213005#213005

#213005 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.6% C 0.067 H 127.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#213005
RGBrgb(33, 48, 5)
HSLhsl(81, 81%, 10%)
HSVhsv(81, 90%, 19%)
CMYKcmyk(31.3%, 0%, 89.6%, 81.2%)
CIE-LABlab(17.68, -14.13, 22.97)
CIE-LCHlch(17.68, 26.96, 121.60°)
OKLaboklab(28.56% -0.0407 0.0537)
OKLCHoklch(28.56% 0.067 127.1)
XYZxyz(1.7116, 2.4482, 0.5259)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213005 #140530
analogous
#302905 #213005 #0C3005
triadic
#213005 #052130 #300521
tetradic
#213005 #053029 #140530 #30050C
square
#213005 #053029 #140530 #30050C
split-complementary
#213005 #050C30 #290530
monochromatic
#131C03 #131C03 #213005 #47670B #6D9F11

Accessibility & contrast

On white

14.10
#213005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#213005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213005
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213005#FFFFFF#000000##FFFFFF
##2130051.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213005;
/* rgb */ color: rgb(33, 48, 5);
/* oklch */ color: oklch(28.6% 0.067 127.1);
Tailwind
colors: {
  custom: {
    50: '#5e6849',
    500: '#213005',
    950: '#000000',
  },
}
SCSS
$custom: #213005;
$custom-light: #5e6849;
$custom-dark: #000000;
JSON
{
  "hex": "#213005",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 5
  },
  "hsl": {
    "h": 80.93,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.0674,
    "h": 127.1
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#213005
secondary
#3C1F72
accent
#30F876
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213005

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

Preview Lab → · Contrast checker → · Palette generator →

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