#E7D758#E7D758

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

Color values

HEX#E7D758
RGBrgb(231, 215, 88)
HSLhsl(53, 75%, 63%)
HSVhsv(53, 62%, 91%)
CMYKcmyk(0%, 6.9%, 61.9%, 9.4%)
CIE-LABlab(85.15, -9.41, 62.79)
CIE-LCHlch(85.15, 63.49, 98.53°)
OKLaboklab(86.87% -0.0308 0.1433)
OKLCHoklch(86.87% 0.147 102.1)
XYZxyz(59.0192, 66.2967, 18.9183)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D758 #5868E7
analogous
#E79058 #E7D758 #AFE758
triadic
#E7D758 #58E7D7 #D758E7
tetradic
#E7D758 #58E790 #5868E7 #E758AF
square
#E7D758 #58E790 #5868E7 #E758AF
split-complementary
#E7D758 #58AFE7 #9058E7
monochromatic
#AC9B19 #DFCA22 #E7D758 #EFE48E #F6F1C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D758#FFFFFF#000000##000000
##E7D7581.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)
#E9D149
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#F7C9BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d758;
/* rgb */ color: rgb(231, 215, 88);
/* oklch */ color: oklch(86.9% 0.147 102.1);
Tailwind
colors: {
  custom: {
    50: '#f2e38c',
    500: '#e7d758',
    950: '#000000',
  },
}
SCSS
$custom: #e7d758;
$custom-light: #f2e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d758",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 53.287,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86873,
    "c": 0.14655,
    "h": 102.1
  },
  "luminance": 0.66294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D758

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

Preview Lab → · Contrast checker → · Palette generator →

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