#D5ED21

A color in the Yellow, Gold family

#d5ed21 is a color in the Yellow, Gold family: RGB(213, 237, 33), HSL(67°, 85%, 53%), CMYK(10%, 0%, 86%, 7%). Closest named color: greenyellow. Contrast is 1.32:1 on white and 15.96:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d5ed21
RGBrgb(213 237 33)
RGB (legacy)rgb(213, 237, 33)
RGB %rgb(84% 93% 13%)
HSLhsl(67 85% 53%)
HSV / HSBhsv(67, 86%, 93%)
HWBhwb(67 13% 7%)
CMYKcmyk(10%, 0%, 86%, 7%)
CIELAB (D50)lab(89.68 -24.3 82.46)
LCHlch(89.68 85.97 106.42)
OKLaboklab(0.8977 -0.0914 0.1791)
OKLCHoklch(0.8977 0.2011 117.04)
Decimal14019873

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 6.1
Closest web-safe color#ccff33
Hue67°
Saturation (HSL / HSV)85% / 86%
Lightness (HSL)53%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)81% / 85%
Relative luminance (WCAG)0.7482
Red / Green / Blue213 / 237 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.96: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 15.4 / -88.4 · As background with white / black text: Lc -17.7 / 88.2

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: #d5ed21;
  --color-brand-oklch: oklch(89.77% 0.2011 117.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(213 237 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d5ed21] text-[#d5ed21] border-[#d5ed21]">