#CDEA21

A color in the Yellow, Gold family

#cdea21 is a color in the Yellow, Gold family: RGB(205, 234, 33), HSL(69°, 83%, 52%), CMYK(12%, 0%, 86%, 8%). Closest named color: greenyellow. Contrast is 1.36:1 on white and 15.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cdea21
RGBrgb(205 234 33)
RGB (legacy)rgb(205, 234, 33)
RGB %rgb(80% 92% 13%)
HSLhsl(69 83% 52%)
HSV / HSBhsv(69, 86%, 92%)
HWBhwb(69 13% 8%)
CMYKcmyk(12%, 0%, 86%, 8%)
CIELAB (D50)lab(88.29 -26.16 81.08)
LCHlch(88.29 85.2 107.89)
OKLaboklab(0.8852 -0.0961 0.1765)
OKLCHoklch(0.8852 0.2009 118.56)
Decimal13494817

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 6.1
Closest web-safe color#ccff33
Hue69°
Saturation (HSL / HSV)83% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)79% / 84%
Relative luminance (WCAG)0.7193
Red / Green / Blue205 / 234 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.39: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 17.6 / -85.9 · As background with white / black text: Lc -20.2 / 86

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: #cdea21;
  --color-brand-oklch: oklch(88.52% 0.2009 118.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 234 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdea21] text-[#cdea21] border-[#cdea21]">