#CBC821

A color in the Yellow, Gold family

#cbc821 is a color in the Yellow, Gold family: RGB(203, 200, 33), HSL(59°, 72%, 46%), CMYK(0%, 1%, 84%, 20%). Closest named color: yellowgreen. Contrast is 1.78:1 on white and 11.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cbc821
RGBrgb(203 200 33)
RGB (legacy)rgb(203, 200, 33)
RGB %rgb(80% 78% 13%)
HSLhsl(59 72% 46%)
HSV / HSBhsv(59, 84%, 80%)
HWBhwb(59 13% 20%)
CMYKcmyk(0%, 1%, 84%, 20%)
CIELAB (D50)lab(78.92 -11.48 73.63)
LCHlch(78.92 74.52 98.86)
OKLaboklab(0.8094 -0.0533 0.1594)
OKLCHoklch(0.8094 0.1681 108.5)
Decimal13355041

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.3
Closest web-safe color#cccc33
Hue59°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)71% / 74%
Relative luminance (WCAG)0.5411
Red / Green / Blue203 / 200 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.82: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 32.5 / -70.1 · As background with white / black text: Lc -36.5 / 71.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: #cbc821;
  --color-brand-oklch: oklch(80.94% 0.1681 108.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 200 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cbc821] text-[#cbc821] border-[#cbc821]">