#E7D757#E7D757

#E7D757 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.147 H 102.2°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E7D757
RGBrgb(231, 215, 87)
HSLhsl(53, 75%, 62%)
HSVhsv(53, 62%, 91%)
CMYKcmyk(0%, 6.9%, 62.3%, 9.4%)
CIE-LABlab(85.14, -9.48, 63.20)
CIE-LCHlch(85.14, 63.91, 98.53°)
OKLaboklab(86.86% -0.0311 0.144)
OKLCHoklch(86.86% 0.147 102.2)
XYZxyz(58.9780, 66.2803, 18.7017)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D757 #5767E7
analogous
#E78F57 #E7D757 #AFE757
triadic
#E7D757 #57E7D7 #D757E7
tetradic
#E7D757 #57E78F #5767E7 #E757AF
square
#E7D757 #57E78F #5767E7 #E757AF
split-complementary
#E7D757 #57AFE7 #8F57E7
monochromatic
#AB9B18 #DFCA21 #E7D757 #EFE48D #F6F0C2

Accessibility & contrast

On white

1.47
#E7D757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E7D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D757
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D757#FFFFFF#000000##000000
##E7D7571.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D148
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#F7C9BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d757;
/* rgb */ color: rgb(231, 215, 87);
/* oklch */ color: oklch(86.9% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#f2e38c',
    500: '#e7d757',
    950: '#000000',
  },
}
SCSS
$custom: #e7d757;
$custom-light: #f2e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d757",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 53.333,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86864,
    "c": 0.14733,
    "h": 102.2
  },
  "luminance": 0.66278
}

Semantic roles & 50–950 ramp

primary
#E7D757
secondary
#3643AC
accent
#25D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D757

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

Preview Lab → · Contrast checker → · Palette generator →

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