#949D21

A color in the Yellow, Gold family

#949d21 is a color in the Yellow, Gold family: RGB(148, 157, 33), HSL(64°, 65%, 37%), CMYK(6%, 0%, 79%, 38%). Closest named color: olivedrab. Contrast is 2.96:1 on white and 7.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#949d21
RGBrgb(148 157 33)
RGB (legacy)rgb(148, 157, 33)
RGB %rgb(58% 62% 13%)
HSLhsl(64 65% 37%)
HSV / HSBhsv(64, 79%, 62%)
HWBhwb(64 13% 38%)
CMYKcmyk(6%, 0%, 79%, 38%)
CIELAB (D50)lab(62.38 -14.35 57.8)
LCHlch(62.38 59.56 103.95)
OKLaboklab(0.667 -0.0565 0.1274)
OKLCHoklch(0.667 0.1394 113.89)
Decimal9739553

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 7.4
Closest web-safe color#999933
Hue64°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)37%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)55% / 57%
Relative luminance (WCAG)0.3052
Red / Green / Blue148 / 157 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 56 / -45.8 · As background with white / black text: Lc -61.3 / 48.1

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: #949d21;
  --color-brand-oklch: oklch(66.7% 0.1394 113.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(148 157 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#949d21] text-[#949d21] border-[#949d21]">