#334021

A color in the Green family

#334021 is a color in the Green family: RGB(51, 64, 33), HSL(85°, 32%, 19%), CMYK(20%, 0%, 48%, 75%). Closest named color: darkslategray. Contrast is 11.08:1 on white and 1.9:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#334021
RGBrgb(51 64 33)
RGB (legacy)rgb(51, 64, 33)
RGB %rgb(20% 25% 13%)
HSLhsl(85 32% 19%)
HSV / HSBhsv(85, 48%, 25%)
HWBhwb(85 13% 75%)
CMYKcmyk(20%, 0%, 48%, 75%)
CIELAB (D50)lab(25.27 -10.24 17.1)
LCHlch(25.27 19.93 120.92)
OKLaboklab(0.3511 -0.0322 0.0419)
OKLCHoklch(0.3511 0.0529 127.49)
Decimal3358753

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 7.4
Closest web-safe color#333333
Hue85°
Saturation (HSL / HSV)32% / 48%
Lightness (HSL)19%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)22% / 23%
Relative luminance (WCAG)0.0448
Red / Green / Blue51 / 64 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.90:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 95.6 / 0 · As background with white / black text: Lc -99.4 / 8.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #334021;
  --color-brand-oklch: oklch(35.11% 0.0529 127.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(51 64 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#334021] text-[#334021] border-[#334021]">