#334C19

A color in the Green family

#334c19 is a color in the Green family: RGB(51, 76, 25), HSL(89°, 50%, 20%), CMYK(33%, 0%, 67%, 70%). Closest named color: darkslategray. Contrast is 9.6:1 on white and 2.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#334c19
RGBrgb(51 76 25)
RGB (legacy)rgb(51, 76, 25)
RGB %rgb(20% 30% 10%)
HSLhsl(89 50% 20%)
HSV / HSBhsv(89, 67%, 30%)
HWBhwb(89 10% 70%)
CMYKcmyk(33%, 0%, 67%, 70%)
CIELAB (D50)lab(29.35 -17.28 26.29)
LCHlch(29.35 31.46 123.31)
OKLaboklab(0.3836 -0.0544 0.0618)
OKLCHoklch(0.3836 0.0823 131.34)
Decimal3361817

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 7.7
Closest web-safe color#333300
Hue89°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)25% / 26%
Relative luminance (WCAG)0.0594
Red / Green / Blue51 / 76 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.19: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 92.1 / -10.3 · As background with white / black text: Lc -96.4 / 11.8

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: #334c19;
  --color-brand-oklch: oklch(38.36% 0.0823 131.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(51 76 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#334c19] text-[#334c19] border-[#334c19]">