#E5D662#E5D662

#E5D662 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.6% C 0.137 H 102.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#E5D662
RGBrgb(229, 214, 98)
HSLhsl(53, 72%, 64%)
HSVhsv(53, 57%, 90%)
CMYKcmyk(0%, 6.6%, 57.2%, 10.2%)
CIE-LABlab(84.81, -9.05, 58.01)
CIE-LCHlch(84.81, 58.71, 98.87°)
OKLaboklab(86.59% -0.0286 0.1344)
OKLCHoklch(86.59% 0.137 102)
XYZxyz(58.5663, 65.6352, 21.1368)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D662 #6271E5
analogous
#E59562 #E5D662 #B3E562
triadic
#E5D662 #62E5D6 #D662E5
tetradic
#E5D662 #62E595 #6271E5 #E562B3
square
#E5D662 #62E595 #6271E5 #E562B3
split-complementary
#E5D662 #62B3E5 #9562E5
monochromatic
#B09F1D #DCC82D #E5D662 #EEE497 #F6F1CB

Accessibility & contrast

On white

1.49
#E5D662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#E5D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D662
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D662#FFFFFF#000000##000000
##E5D6621.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5d662;
/* rgb */ color: rgb(229, 214, 98);
/* oklch */ color: oklch(86.6% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#f0e292',
    500: '#e5d662',
    950: '#000000',
  },
}
SCSS
$custom: #e5d662;
$custom-light: #f0e292;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d662",
  "rgb": {
    "r": 229,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 53.13,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86594,
    "c": 0.13741,
    "h": 102
  },
  "luminance": 0.65633
}

Semantic roles & 50–950 ramp

primary
#E5D662
secondary
#3B48B1
accent
#28D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D662

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

Preview Lab → · Contrast checker → · Palette generator →

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