#E5AA21

A color in the Orange, Brown family

#e5aa21 is a color in the Orange, Brown family: RGB(229, 170, 33), HSL(42°, 79%, 51%), CMYK(0%, 26%, 86%, 10%). Closest named color: goldenrod. Contrast is 2.08:1 on white and 10.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e5aa21
RGBrgb(229 170 33)
RGB (legacy)rgb(229, 170, 33)
RGB %rgb(90% 67% 13%)
HSLhsl(42 79% 51%)
HSV / HSBhsv(42, 86%, 90%)
HWBhwb(42 13% 10%)
CMYKcmyk(0%, 26%, 86%, 10%)
CIELAB (D50)lab(73.77 14.41 70.93)
LCHlch(73.77 72.37 78.52)
OKLaboklab(0.7732 0.0211 0.1505)
OKLCHoklch(0.7732 0.152 82.02)
Decimal15051297

Properties

Color ToneOrange, Brown
Closest named colorgoldenrod ΔE 2.3
Closest web-safe color#cc9933
Hue42°
Saturation (HSL / HSV)79% / 86%
Lightness (HSL)51%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)67% / 68%
Relative luminance (WCAG)0.4552
Red / Green / Blue229 / 170 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.08:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.10: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 40.4 / -61.9 · As background with white / black text: Lc -44.9 / 63.6

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: #e5aa21;
  --color-brand-oklch: oklch(77.32% 0.152 82.02);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(229 170 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e5aa21] text-[#e5aa21] border-[#e5aa21]">