#E4D762#E4D762

#E4D762 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.138 H 103.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E4D762
RGBrgb(228, 215, 98)
HSLhsl(54, 71%, 64%)
HSVhsv(54, 57%, 89%)
CMYKcmyk(0%, 5.7%, 57%, 10.6%)
CIE-LABlab(84.99, -9.96, 58.18)
CIE-LCHlch(84.99, 59.03, 99.72°)
OKLaboklab(86.71% -0.0311 0.1348)
OKLCHoklch(86.71% 0.138 103)
XYZxyz(58.5019, 65.9788, 21.2065)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D762 #626FE4
analogous
#E49662 #E4D762 #B0E462
triadic
#E4D762 #62E4D7 #D762E4
tetradic
#E4D762 #62E496 #626FE4 #E462B0
square
#E4D762 #62E496 #626FE4 #E462B0
split-complementary
#E4D762 #62B0E4 #9662E4
monochromatic
#AE9F1E #DBCA2E #E4D762 #EDE496 #F6F2CA

Accessibility & contrast

On white

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

On black

14.20
#E4D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D762
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D762#FFFFFF#000000##000000
##E4D7621.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4d762;
/* rgb */ color: rgb(228, 215, 98);
/* oklch */ color: oklch(86.7% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#efe392',
    500: '#e4d762',
    950: '#000000',
  },
}
SCSS
$custom: #e4d762;
$custom-light: #efe392;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d762",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 54,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86713,
    "c": 0.13835,
    "h": 103
  },
  "luminance": 0.65977
}

Semantic roles & 50–950 ramp

primary
#E4D762
secondary
#3B47AF
accent
#26D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D762

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

Preview Lab → · Contrast checker → · Palette generator →

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