#CDCD8A

A color in the Yellow, Gold family

#cdcd8a is a color in the Yellow, Gold family: RGB(205, 205, 138), HSL(60°, 40%, 67%), CMYK(0%, 0%, 33%, 20%). Closest named color: burlywood. Contrast is 1.65:1 on white and 12.7:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cdcd8a
RGBrgb(205 205 138)
RGB (legacy)rgb(205, 205, 138)
RGB %rgb(80% 80% 54%)
HSLhsl(60 40% 67%)
HSV / HSBhsv(60, 33%, 80%)
HWBhwb(60 54% 20%)
CMYKcmyk(0%, 0%, 33%, 20%)
CIELAB (D50)lab(81.23 -7.55 33.44)
LCHlch(81.23 34.28 102.73)
OKLaboklab(0.8326 -0.0272 0.0828)
OKLCHoklch(0.8326 0.0871 108.15)
Decimal13487498

Properties

Color ToneYellow, Gold
Closest named colorburlywood ΔE 5.7
Closest web-safe color#cccc99
Hue60°
Saturation (HSL / HSV)40% / 33%
Lightness (HSL)67%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)77% / 78%
Relative luminance (WCAG)0.5848
Red / Green / Blue205 / 205 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.70: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 28.9 / -74 · As background with white / black text: Lc -32.5 / 74.9

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: #cdcd8a;
  --color-brand-oklch: oklch(83.26% 0.0871 108.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 205 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdcd8a] text-[#cdcd8a] border-[#cdcd8a]">