#E7D94E#E7D94E

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

Color values

HEX#E7D94E
RGBrgb(231, 217, 78)
HSLhsl(55, 76%, 61%)
HSVhsv(55, 66%, 91%)
CMYKcmyk(0%, 6.1%, 66.2%, 9.4%)
CIE-LABlab(85.59, -11.01, 67.34)
CIE-LCHlch(85.59, 68.23, 99.28°)
OKLaboklab(87.2% -0.0365 0.1514)
OKLCHoklch(87.2% 0.156 103.5)
XYZxyz(59.1454, 67.1670, 17.0553)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D94E #4E5CE7
analogous
#E78C4E #E7D94E #A8E74E
triadic
#E7D94E #4EE7D9 #D94EE7
tetradic
#E7D94E #4EE78C #4E5CE7 #E74EA8
square
#E7D94E #4EE78C #4E5CE7 #E74EA8
split-complementary
#E7D94E #4EA8E7 #8C4EE7
monochromatic
#A49716 #DAC91E #E7D94E #EEE584 #F6F0BA

Accessibility & contrast

On white

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

On black

14.43
#E7D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D94E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D94E#FFFFFF#000000##000000
##E7D94E1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d94e;
/* rgb */ color: rgb(231, 217, 78);
/* oklch */ color: oklch(87.2% 0.156 103.5);
Tailwind
colors: {
  custom: {
    50: '#f2e487',
    500: '#e7d94e',
    950: '#000000',
  },
}
SCSS
$custom: #e7d94e;
$custom-light: #f2e487;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d94e",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 54.51,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87198,
    "c": 0.15573,
    "h": 103.5
  },
  "luminance": 0.67165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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