#E7D94F#E7D94F

#E7D94F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.155 H 103.5°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#E7D94F
RGBrgb(231, 217, 79)
HSLhsl(54, 76%, 61%)
HSVhsv(54, 66%, 91%)
CMYKcmyk(0%, 6.1%, 65.8%, 9.4%)
CIE-LABlab(85.60, -10.95, 66.95)
CIE-LCHlch(85.60, 67.84, 99.29°)
OKLaboklab(87.21% -0.0362 0.1507)
OKLCHoklch(87.21% 0.155 103.5)
XYZxyz(59.1815, 67.1815, 17.2456)
Luminance0.6718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D94F #4F5DE7
analogous
#E78D4F #E7D94F #A9E74F
triadic
#E7D94F #4FE7D9 #D94FE7
tetradic
#E7D94F #4FE78D #4F5DE7 #E74FA9
square
#E7D94F #4FE78D #4F5DE7 #E74FA9
split-complementary
#E7D94F #4FA9E7 #8D4FE7
monochromatic
#A59817 #DBCA1E #E7D94F #EEE585 #F6F0BB

Accessibility & contrast

On white

1.45
#E7D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#E7D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D94F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D94F#FFFFFF#000000##000000
##E7D94F1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#F8CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d94f;
/* rgb */ color: rgb(231, 217, 79);
/* oklch */ color: oklch(87.2% 0.155 103.5);
Tailwind
colors: {
  custom: {
    50: '#f2e487',
    500: '#e7d94f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d94f;
$custom-light: #f2e487;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d94f",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 54.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87207,
    "c": 0.15502,
    "h": 103.5
  },
  "luminance": 0.67179
}

Semantic roles & 50–950 ramp

primary
#E7D94F
secondary
#333EA7
accent
#20D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D94F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E7D94F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva