#E7E708

A color in the Yellow, Gold family

#e7e708 is a color in the Yellow, Gold family: RGB(231, 231, 8), HSL(60°, 93%, 47%), CMYK(0%, 0%, 97%, 9%). Closest named color: gold. Contrast is 1.33:1 on white and 15.83:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e7e708
RGBrgb(231 231 8)
RGB (legacy)rgb(231, 231, 8)
RGB %rgb(91% 91% 3%)
HSLhsl(60 93% 47%)
HSV / HSBhsv(60, 97%, 91%)
HWBhwb(60 3% 9%)
CMYKcmyk(0%, 0%, 97%, 9%)
CIELAB (D50)lab(89.43 -14.57 86.06)
LCHlch(89.43 87.29 99.61)
OKLaboklab(0.8984 -0.0659 0.1834)
OKLCHoklch(0.8984 0.1949 109.76)
Decimal15197960

Properties

Color ToneYellow, Gold
Closest named colorgold ΔE 5
Closest web-safe color#ffff00
Hue60°
Saturation (HSL / HSV)93% / 97%
Lightness (HSL)47%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)81% / 84%
Relative luminance (WCAG)0.7416
Red / Green / Blue231 / 231 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.83: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 15.9 / -87.8 · As background with white / black text: Lc -18.2 / 87.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: #e7e708;
  --color-brand-oklch: oklch(89.84% 0.1949 109.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(231 231 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e7e708] text-[#e7e708] border-[#e7e708]">