#C4BC21

A color in the Yellow, Gold family

#c4bc21 is a color in the Yellow, Gold family: RGB(196, 188, 33), HSL(57°, 71%, 45%), CMYK(0%, 4%, 83%, 23%). Closest named color: darkkhaki. Contrast is 1.99:1 on white and 10.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c4bc21
RGBrgb(196 188 33)
RGB (legacy)rgb(196, 188, 33)
RGB %rgb(77% 74% 13%)
HSLhsl(57 71% 45%)
HSV / HSBhsv(57, 83%, 77%)
HWBhwb(57 13% 23%)
CMYKcmyk(0%, 4%, 83%, 23%)
CIELAB (D50)lab(75.09 -8.71 70.29)
LCHlch(75.09 70.83 97.06)
OKLaboklab(0.7775 -0.0446 0.1523)
OKLCHoklch(0.7775 0.1587 106.32)
Decimal12893217

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6.2
Closest web-safe color#cccc33
Hue57°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)45%
Brightness or Value (HSV)77%
Luminance (Rec.601 / Rec.709)68% / 70%
Relative luminance (WCAG)0.4781
Red / Green / Blue196 / 188 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.99:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.56: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 38.3 / -64.1 · As background with white / black text: Lc -42.7 / 65.6

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: #c4bc21;
  --color-brand-oklch: oklch(77.75% 0.1587 106.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(196 188 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c4bc21] text-[#c4bc21] border-[#c4bc21]">