#E7D662#E7D662

#E7D662 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.137 H 101.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#E7D662
RGBrgb(231, 214, 98)
HSLhsl(52, 73%, 65%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 7.4%, 57.6%, 9.4%)
CIE-LABlab(84.98, -8.23, 58.24)
CIE-LCHlch(84.98, 58.82, 98.04°)
OKLaboklab(86.77% -0.0263 0.1349)
OKLCHoklch(86.77% 0.137 101.1)
XYZxyz(59.2083, 65.9662, 21.1669)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D662 #6273E7
analogous
#E79462 #E7D662 #B6E762
triadic
#E7D662 #62E7D6 #D662E7
tetradic
#E7D662 #62E794 #6273E7 #E762B6
square
#E7D662 #62E794 #6273E7 #E762B6
split-complementary
#E7D662 #62B6E7 #9462E7
monochromatic
#B3A01B #DFC82D #E7D662 #EFE497 #F7F2CC

Accessibility & contrast

On white

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

On black

14.19
#E7D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D662
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D662#FFFFFF#000000##000000
##E7D6621.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d662;
/* rgb */ color: rgb(231, 214, 98);
/* oklch */ color: oklch(86.8% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#f1e292',
    500: '#e7d662',
    950: '#000000',
  },
}
SCSS
$custom: #e7d662;
$custom-light: #f1e292;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d662",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 52.331,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86769,
    "c": 0.13742,
    "h": 101.1
  },
  "luminance": 0.65964
}

Semantic roles & 50–950 ramp

primary
#E7D662
secondary
#3A49B4
accent
#29D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D662

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

Preview Lab → · Contrast checker → · Palette generator →

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