#213104#213104

#213104 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.070 H 127.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#213104
RGBrgb(33, 49, 4)
HSLhsl(81, 85%, 10%)
HSVhsv(81, 92%, 19%)
CMYKcmyk(32.7%, 0%, 91.8%, 80.8%)
CIE-LABlab(18.05, -14.79, 23.81)
CIE-LCHlch(18.05, 28.03, 121.86°)
OKLaboklab(28.85% -0.0426 0.0554)
OKLCHoklch(28.85% 0.07 127.6)
XYZxyz(1.7474, 2.5287, 0.5109)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213104 #140431
analogous
#312A04 #213104 #0B3104
triadic
#213104 #042131 #310421
tetradic
#213104 #04312A #140431 #31040B
square
#213104 #04312A #140431 #31040B
split-complementary
#213104 #040B31 #2A0431
monochromatic
#131C02 #131C02 #213104 #476A09 #6DA20D

Accessibility & contrast

On white

13.95
#213104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#213104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213104
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213104#FFFFFF#000000##FFFFFF
##2131041.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#232E28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #213104;
/* rgb */ color: rgb(33, 49, 4);
/* oklch */ color: oklch(28.9% 0.070 127.6);
Tailwind
colors: {
  custom: {
    50: '#5e6949',
    500: '#213104',
    950: '#000000',
  },
}
SCSS
$custom: #213104;
$custom-light: #5e6949;
$custom-dark: #000000;
JSON
{
  "hex": "#213104",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 81.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28852,
    "c": 0.06993,
    "h": 127.6
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#213104
secondary
#3C1D73
accent
#2DFB76
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213104

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

Preview Lab → · Contrast checker → · Palette generator →

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