#CCC00A

A color in the Yellow, Gold family

#ccc00a is a color in the Yellow, Gold family: RGB(204, 192, 10), HSL(56°, 91%, 42%), CMYK(0%, 6%, 95%, 20%). Closest named color: yellowgreen. Contrast is 1.89:1 on white and 11.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ccc00a
RGBrgb(204 192 10)
RGB (legacy)rgb(204, 192, 10)
RGB %rgb(80% 75% 4%)
HSLhsl(56 91% 42%)
HSV / HSBhsv(56, 95%, 80%)
HWBhwb(56 4% 20%)
CMYKcmyk(0%, 6%, 95%, 20%)
CIELAB (D50)lab(76.82 -7.52 75.76)
LCHlch(76.82 76.13 95.67)
OKLaboklab(0.7925 -0.0432 0.161)
OKLCHoklch(0.7925 0.1667 105.01)
Decimal13418506

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.8
Closest web-safe color#cccc00
Hue56°
Saturation (HSL / HSV)91% / 95%
Lightness (HSL)42%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)69% / 71%
Relative luminance (WCAG)0.5056
Red / Green / Blue204 / 192 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.11: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 35.7 / -66.8 · As background with white / black text: Lc -39.9 / 68.2

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: #ccc00a;
  --color-brand-oklch: oklch(79.25% 0.1667 105.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(204 192 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ccc00a] text-[#ccc00a] border-[#ccc00a]">