#213004#213004

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

Color values

HEX#213004
RGBrgb(33, 48, 4)
HSLhsl(80, 85%, 10%)
HSVhsv(80, 92%, 19%)
CMYKcmyk(31.3%, 0%, 91.7%, 81.2%)
CIE-LABlab(17.67, -14.22, 23.36)
CIE-LCHlch(17.67, 27.35, 121.34°)
OKLaboklab(28.55% -0.0411 0.0547)
OKLCHoklch(28.55% 0.068 126.9)
XYZxyz(1.7061, 2.4460, 0.4971)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213004 #130430
analogous
#302904 #213004 #0B3004
triadic
#213004 #042130 #300421
tetradic
#213004 #043029 #130430 #30040B
square
#213004 #043029 #130430 #30040B
split-complementary
#213004 #040B30 #290430
monochromatic
#131C02 #131C02 #213004 #486809 #6FA10D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213004#FFFFFF#000000##FFFFFF
##2130041.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)
#312B07
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213004;
/* rgb */ color: rgb(33, 48, 4);
/* oklch */ color: oklch(28.5% 0.068 126.9);
Tailwind
colors: {
  custom: {
    50: '#5e6849',
    500: '#213004',
    950: '#000000',
  },
}
SCSS
$custom: #213004;
$custom-light: #5e6849;
$custom-dark: #000000;
JSON
{
  "hex": "#213004",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 80.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28547,
    "c": 0.06842,
    "h": 126.9
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#213004
secondary
#3A1D72
accent
#2DFB73
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213004

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

Preview Lab → · Contrast checker → · Palette generator →

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