#C5CE21

A color in the Yellow, Gold family

#c5ce21 is a color in the Yellow, Gold family: RGB(197, 206, 33), HSL(63°, 72%, 47%), CMYK(4%, 0%, 84%, 19%). Closest named color: yellowgreen. Contrast is 1.72:1 on white and 12.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c5ce21
RGBrgb(197 206 33)
RGB (legacy)rgb(197, 206, 33)
RGB %rgb(77% 81% 13%)
HSLhsl(63 72% 47%)
HSV / HSBhsv(63, 84%, 81%)
HWBhwb(63 13% 19%)
CMYKcmyk(4%, 0%, 84%, 19%)
CIELAB (D50)lab(80.05 -16.8 74.27)
LCHlch(80.05 76.15 102.75)
OKLaboklab(0.8175 -0.0683 0.1614)
OKLCHoklch(0.8175 0.1752 112.94)
Decimal12963361

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5.4
Closest web-safe color#cccc33
Hue63°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)47%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)72% / 75%
Relative luminance (WCAG)0.5612
Red / Green / Blue197 / 206 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.22: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 30.8 / -72 · As background with white / black text: Lc -34.6 / 73.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: #c5ce21;
  --color-brand-oklch: oklch(81.75% 0.1752 112.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(197 206 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c5ce21] text-[#c5ce21] border-[#c5ce21]">