#CBEA21

A color in the Yellow, Gold family

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

Color Codes

HEX#cbea21
RGBrgb(203 234 33)
RGB (legacy)rgb(203, 234, 33)
RGB %rgb(80% 92% 13%)
HSLhsl(69 83% 52%)
HSV / HSBhsv(69, 86%, 92%)
HWBhwb(69 13% 8%)
CMYKcmyk(13%, 0%, 86%, 8%)
CIELAB (D50)lab(88.14 -26.96 80.9)
LCHlch(88.14 85.27 108.43)
OKLaboklab(0.8838 -0.0982 0.1762)
OKLCHoklch(0.8838 0.2017 119.13)
Decimal13363745

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 6
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% / 83%
Relative luminance (WCAG)0.7165
Red / Green / Blue203 / 234 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.33: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.9 / -85.7 · As background with white / black text: Lc -20.4 / 85.8

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