#E4E45F

A color in the Yellow, Gold family

#e4e45f is a color in the Yellow, Gold family: RGB(228, 228, 95), HSL(60°, 71%, 63%), CMYK(0%, 0%, 58%, 11%). Closest named color: khaki. Contrast is 1.35:1 on white and 15.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e45f
RGBrgb(228 228 95)
RGB (legacy)rgb(228, 228, 95)
RGB %rgb(89% 89% 37%)
HSLhsl(60 71% 63%)
HSV / HSBhsv(60, 58%, 89%)
HWBhwb(60 37% 11%)
CMYKcmyk(0%, 0%, 58%, 11%)
CIELAB (D50)lab(88.72 -12.2 62.93)
LCHlch(88.72 64.1 100.97)
OKLaboklab(0.8939 -0.0504 0.1452)
OKLCHoklch(0.8939 0.1537 109.14)
Decimal15000671

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.8
Closest web-safe color#cccc66
Hue60°
Saturation (HSL / HSV)71% / 58%
Lightness (HSL)63%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)83% / 86%
Relative luminance (WCAG)0.7281
Red / Green / Blue228 / 228 / 95

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.56: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.1 / -86.6 · As background with white / black text: Lc -19.5 / 86.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: #e4e45f;
  --color-brand-oklch: oklch(89.39% 0.1537 109.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 228 95 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e45f] text-[#e4e45f] border-[#e4e45f]">