#E7D762#E7D762

#E7D762 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.0% C 0.138 H 101.6°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E7D762
RGBrgb(231, 215, 98)
HSLhsl(53, 73%, 65%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 6.9%, 57.6%, 9.4%)
CIE-LABlab(85.24, -8.74, 58.53)
CIE-LCHlch(85.24, 59.18, 98.49°)
OKLaboklab(86.97% -0.0278 0.1355)
OKLCHoklch(86.97% 0.138 101.6)
XYZxyz(59.4622, 66.4739, 21.2515)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D762 #6272E7
analogous
#E79562 #E7D762 #B5E762
triadic
#E7D762 #62E7D7 #D762E7
tetradic
#E7D762 #62E795 #6272E7 #E762B5
square
#E7D762 #62E795 #6272E7 #E762B5
split-complementary
#E7D762 #62B5E7 #9562E7
monochromatic
#B3A11B #DFC92D #E7D762 #EFE597 #F7F2CC

Accessibility & contrast

On white

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

On black

14.29
#E7D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D762
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D762#FFFFFF#000000##000000
##E7D7621.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F7CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d762;
/* rgb */ color: rgb(231, 215, 98);
/* oklch */ color: oklch(87.0% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#f1e392',
    500: '#e7d762',
    950: '#000000',
  },
}
SCSS
$custom: #e7d762;
$custom-light: #f1e392;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d762",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 52.782,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86974,
    "c": 0.13832,
    "h": 101.6
  },
  "luminance": 0.66472
}

Semantic roles & 50–950 ramp

primary
#E7D762
secondary
#3A48B4
accent
#28D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D762

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

Preview Lab → · Contrast checker → · Palette generator →

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