#7C9D21

A color in the Green family

#7c9d21 is a color in the Green family: RGB(124, 157, 33), HSL(76°, 65%, 37%), CMYK(21%, 0%, 79%, 38%). Closest named color: olivedrab. Contrast is 3.13:1 on white and 6.7:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7c9d21
RGBrgb(124 157 33)
RGB (legacy)rgb(124, 157, 33)
RGB %rgb(49% 62% 13%)
HSLhsl(76 65% 37%)
HSV / HSBhsv(76, 79%, 62%)
HWBhwb(76 13% 38%)
CMYKcmyk(21%, 0%, 79%, 38%)
CIELAB (D50)lab(60.56 -24.51 55.37)
LCHlch(60.56 60.55 113.87)
OKLaboklab(0.6485 -0.0834 0.1235)
OKLCHoklch(0.6485 0.149 124.03)
Decimal8166689

Properties

Color ToneGreen
Closest named colorolivedrab ΔE 5.1
Closest web-safe color#669933
Hue76°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)37%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)52% / 55%
Relative luminance (WCAG)0.2851
Red / Green / Blue124 / 157 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 58.2 / -43.5 · As background with white / black text: Lc -63.6 / 45.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: #7c9d21;
  --color-brand-oklch: oklch(64.85% 0.149 124.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 157 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c9d21] text-[#7c9d21] border-[#7c9d21]">