#E9BA21

A color in the Yellow, Gold family

#e9ba21 is a color in the Yellow, Gold family: RGB(233, 186, 33), HSL(46°, 82%, 52%), CMYK(0%, 20%, 86%, 9%). Closest named color: orange. Contrast is 1.82:1 on white and 11.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e9ba21
RGBrgb(233 186 33)
RGB (legacy)rgb(233, 186, 33)
RGB %rgb(91% 73% 13%)
HSLhsl(46 82% 52%)
HSV / HSBhsv(46, 86%, 91%)
HWBhwb(46 13% 9%)
CMYKcmyk(0%, 20%, 86%, 9%)
CIELAB (D50)lab(78.12 8.1 74.45)
LCHlch(78.12 74.89 83.79)
OKLaboklab(0.8085 0.0018 0.1586)
OKLCHoklch(0.8085 0.1586 89.35)
Decimal15317537

Properties

Color ToneYellow, Gold
Closest named colororange ΔE 5.7
Closest web-safe color#ffcc33
Hue46°
Saturation (HSL / HSV)82% / 86%
Lightness (HSL)52%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)72% / 73%
Relative luminance (WCAG)0.5255
Red / Green / Blue233 / 186 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.51: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 33.9 / -68.7 · As background with white / black text: Lc -38 / 70

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: #e9ba21;
  --color-brand-oklch: oklch(80.85% 0.1586 89.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(233 186 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e9ba21] text-[#e9ba21] border-[#e9ba21]">