#C2A821

A color in the Yellow, Gold family

#c2a821 is a color in the Yellow, Gold family: RGB(194, 168, 33), HSL(50°, 71%, 45%), CMYK(0%, 13%, 83%, 24%). Closest named color: goldenrod. Contrast is 2.36:1 on white and 8.92:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c2a821
RGBrgb(194 168 33)
RGB (legacy)rgb(194, 168, 33)
RGB %rgb(76% 66% 13%)
HSLhsl(50 71% 45%)
HSV / HSBhsv(50, 83%, 76%)
HWBhwb(50 13% 24%)
CMYKcmyk(0%, 13%, 83%, 24%)
CIELAB (D50)lab(69.59 0.29 65.8)
LCHlch(69.59 65.8 89.75)
OKLaboklab(0.7331 -0.0179 0.142)
OKLCHoklch(0.7331 0.1431 97.17)
Decimal12757025

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 3.8
Closest web-safe color#cc9933
Hue50°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)45%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)63% / 64%
Relative luminance (WCAG)0.3958
Red / Green / Blue194 / 168 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.92: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 46.3 / -55.8 · As background with white / black text: Lc -51.2 / 57.7

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: #c2a821;
  --color-brand-oklch: oklch(73.31% 0.1431 97.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(194 168 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c2a821] text-[#c2a821] border-[#c2a821]">