#1A4D21

A color in the Green family

#1a4d21 is a color in the Green family: RGB(26, 77, 33), HSL(128°, 50%, 20%), CMYK(66%, 0%, 57%, 70%). Closest named color: darkslategray. Contrast is 9.87:1 on white and 2.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#1a4d21
RGBrgb(26 77 33)
RGB (legacy)rgb(26, 77, 33)
RGB %rgb(10% 30% 13%)
HSLhsl(128 50% 20%)
HSV / HSBhsv(128, 66%, 30%)
HWBhwb(128 10% 70%)
CMYKcmyk(66%, 0%, 57%, 70%)
CIELAB (D50)lab(28.49 -25.81 20.61)
LCHlch(28.49 33.03 141.39)
OKLaboklab(0.3741 -0.075 0.0506)
OKLCHoklch(0.3741 0.0904 146)
Decimal1723681

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 7.8
Closest web-safe color#336633
Hue128°
Saturation (HSL / HSV)50% / 66%
Lightness (HSL)20%
Brightness or Value (HSV)30%
Luminance (Rec.601 / Rec.709)22% / 25%
Relative luminance (WCAG)0.0564
Red / Green / Blue26 / 77 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.13: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.6 / -9.8 · As background with white / black text: Lc -96.8 / 11.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: #1a4d21;
  --color-brand-oklch: oklch(37.41% 0.0904 146);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(26 77 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1a4d21] text-[#1a4d21] border-[#1a4d21]">