#CBE21D

A color in the Yellow, Gold family

#cbe21d is a color in the Yellow, Gold family: RGB(203, 226, 29), HSL(67°, 77%, 50%), CMYK(10%, 0%, 87%, 11%). Closest named color: gold. Contrast is 1.45:1 on white and 14.44:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cbe21d
RGBrgb(203 226 29)
RGB (legacy)rgb(203, 226, 29)
RGB %rgb(80% 89% 11%)
HSLhsl(67 77% 50%)
HSV / HSBhsv(67, 87%, 89%)
HWBhwb(67 11% 11%)
CMYKcmyk(10%, 0%, 87%, 11%)
CIELAB (D50)lab(85.95 -23.5 79.89)
LCHlch(85.95 83.27 106.39)
OKLaboklab(0.866 -0.0885 0.1733)
OKLCHoklch(0.866 0.1946 117.04)
Decimal13361693

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 7.5
Closest web-safe color#cccc33
Hue67°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)50%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)77% / 81%
Relative luminance (WCAG)0.6718
Red / Green / Blue203 / 226 / 29

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.44: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 21.4 / -81.9 · As background with white / black text: Lc -24.4 / 82.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: #cbe21d;
  --color-brand-oklch: oklch(86.6% 0.1946 117.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 226 29 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cbe21d] text-[#cbe21d] border-[#cbe21d]">