#CDCA64

A color in the Yellow, Gold family

#cdca64 is a color in the Yellow, Gold family: RGB(205, 202, 100), HSL(58°, 51%, 60%), CMYK(0%, 1%, 51%, 20%). Closest named color: darkkhaki. Contrast is 1.72:1 on white and 12.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cdca64
RGBrgb(205 202 100)
RGB (legacy)rgb(205, 202, 100)
RGB %rgb(80% 79% 39%)
HSLhsl(58 51% 60%)
HSV / HSBhsv(58, 51%, 80%)
HWBhwb(58 39% 20%)
CMYKcmyk(0%, 1%, 51%, 20%)
CIELAB (D50)lab(80.01 -8.97 50.54)
LCHlch(80.01 51.33 100.07)
OKLaboklab(0.8206 -0.0372 0.1193)
OKLCHoklch(0.8206 0.1249 107.33)
Decimal13486692

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6
Closest web-safe color#cccc66
Hue58°
Saturation (HSL / HSV)51% / 51%
Lightness (HSL)60%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)75% / 77%
Relative luminance (WCAG)0.5614
Red / Green / Blue205 / 202 / 100

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.23: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.9 / -71.9 · As background with white / black text: Lc -34.7 / 73

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: #cdca64;
  --color-brand-oklch: oklch(82.06% 0.1249 107.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 202 100 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdca64] text-[#cdca64] border-[#cdca64]">