#E7D354#E7D354

#E7D354 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.0% C 0.146 H 100.3°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#E7D354
RGBrgb(231, 211, 84)
HSLhsl(52, 75%, 62%)
HSVhsv(52, 64%, 91%)
CMYKcmyk(0%, 8.7%, 63.6%, 9.4%)
CIE-LABlab(84.08, -7.64, 63.33)
CIE-LCHlch(84.08, 63.79, 96.88°)
OKLaboklab(86.02% -0.0262 0.1438)
OKLCHoklch(86.02% 0.146 100.3)
XYZxyz(57.8519, 64.2200, 17.7342)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D354 #5468E7
analogous
#E78A54 #E7D354 #B2E754
triadic
#E7D354 #54E7D3 #D354E7
tetradic
#E7D354 #54E78A #5468E7 #E754B2
square
#E7D354 #54E78A #5468E7 #E754B2
split-complementary
#E7D354 #54B2E7 #8A54E7
monochromatic
#A99518 #DFC51F #E7D354 #EFE18A #F6EFBF

Accessibility & contrast

On white

1.52
#E7D354 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#E7D354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D354
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D354#FFFFFF#000000##000000
##E7D3541.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD45
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#F8C5B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d354;
/* rgb */ color: rgb(231, 211, 84);
/* oklch */ color: oklch(86.0% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#f2e08a',
    500: '#e7d354',
    950: '#000000',
  },
}
SCSS
$custom: #e7d354;
$custom-light: #f2e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d354",
  "rgb": {
    "r": 231,
    "g": 211,
    "b": 84
  },
  "hsl": {
    "h": 51.837,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86016,
    "c": 0.14621,
    "h": 100.3
  },
  "luminance": 0.64218
}

Semantic roles & 50–950 ramp

primary
#E7D354
secondary
#3545AA
accent
#29D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D354

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

Preview Lab → · Contrast checker → · Palette generator →

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