#CEDC8A

A color in the Yellow, Gold family

#cedc8a is a color in the Yellow, Gold family: RGB(206, 220, 138), HSL(70°, 54%, 70%), CMYK(6%, 0%, 37%, 14%). Closest named color: khaki. Contrast is 1.48:1 on white and 14.23:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cedc8a
RGBrgb(206 220 138)
RGB (legacy)rgb(206, 220, 138)
RGB %rgb(81% 86% 54%)
HSLhsl(70 54% 70%)
HSV / HSBhsv(70, 37%, 86%)
HWBhwb(70 54% 14%)
CMYKcmyk(6%, 0%, 37%, 14%)
CIELAB (D50)lab(85.29 -14.26 38.62)
LCHlch(85.29 41.17 110.27)
OKLaboklab(0.8652 -0.0476 0.0951)
OKLCHoklch(0.8652 0.1063 116.58)
Decimal13556874

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 5.5
Closest web-safe color#cccc99
Hue70°
Saturation (HSL / HSV)54% / 37%
Lightness (HSL)70%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)81% / 83%
Relative luminance (WCAG)0.6614
Red / Green / Blue206 / 220 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.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 22.5 / -80.8 · As background with white / black text: Lc -25.5 / 81.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: #cedc8a;
  --color-brand-oklch: oklch(86.52% 0.1063 116.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(206 220 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cedc8a] text-[#cedc8a] border-[#cedc8a]">