#E5D762#E5D762

#E5D762 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.138 H 102.5°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E5D762
RGBrgb(229, 215, 98)
HSLhsl(54, 72%, 64%)
HSVhsv(54, 57%, 90%)
CMYKcmyk(0%, 6.1%, 57.2%, 10.2%)
CIE-LABlab(85.07, -9.56, 58.30)
CIE-LCHlch(85.07, 59.08, 99.31°)
OKLaboklab(86.8% -0.03 0.135)
OKLCHoklch(86.8% 0.138 102.5)
XYZxyz(58.8202, 66.1429, 21.2214)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D762 #6270E5
analogous
#E59662 #E5D762 #B2E562
triadic
#E5D762 #62E5D7 #D762E5
tetradic
#E5D762 #62E596 #6270E5 #E562B2
square
#E5D762 #62E596 #6270E5 #E562B2
split-complementary
#E5D762 #62B2E5 #9662E5
monochromatic
#B0A01D #DCCA2D #E5D762 #EEE497 #F6F2CB

Accessibility & contrast

On white

1.48
#E5D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E5D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D762
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D762#FFFFFF#000000##000000
##E5D7621.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#EDD768
Tritanopia (blue-blind)
#F5CABD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d762;
/* rgb */ color: rgb(229, 215, 98);
/* oklch */ color: oklch(86.8% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#f0e392',
    500: '#e5d762',
    950: '#000000',
  },
}
SCSS
$custom: #e5d762;
$custom-light: #f0e392;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d762",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 53.588,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.868,
    "c": 0.13832,
    "h": 102.5
  },
  "luminance": 0.66141
}

Semantic roles & 50–950 ramp

primary
#E5D762
secondary
#3B47B1
accent
#27D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D762

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

Preview Lab → · Contrast checker → · Palette generator →

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