#E4D662#E4D662

#E4D662 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.137 H 102.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E4D662
RGBrgb(228, 214, 98)
HSLhsl(54, 71%, 64%)
HSVhsv(54, 57%, 89%)
CMYKcmyk(0%, 6.1%, 57%, 10.6%)
CIE-LABlab(84.73, -9.46, 57.89)
CIE-LCHlch(84.73, 58.66, 99.28°)
OKLaboklab(86.51% -0.0297 0.1342)
OKLCHoklch(86.51% 0.137 102.5)
XYZxyz(58.2481, 65.4711, 21.1218)
Luminance0.6547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D662 #6270E4
analogous
#E49562 #E4D662 #B1E462
triadic
#E4D662 #62E4D6 #D662E4
tetradic
#E4D662 #62E495 #6270E4 #E462B1
square
#E4D662 #62E495 #6270E4 #E462B1
split-complementary
#E4D662 #62B1E4 #9562E4
monochromatic
#AE9E1E #DBC82E #E4D662 #EDE496 #F6F1CA

Accessibility & contrast

On white

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

On black

14.09
#E4D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D662
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D662#FFFFFF#000000##000000
##E4D6621.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#F4C9BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e4d662;
/* rgb */ color: rgb(228, 214, 98);
/* oklch */ color: oklch(86.5% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#efe292',
    500: '#e4d662',
    950: '#000000',
  },
}
SCSS
$custom: #e4d662;
$custom-light: #efe292;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d662",
  "rgb": {
    "r": 228,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 53.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86507,
    "c": 0.13742,
    "h": 102.5
  },
  "luminance": 0.65469
}

Semantic roles & 50–950 ramp

primary
#E4D662
secondary
#3B48AF
accent
#27D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D662

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

Preview Lab → · Contrast checker → · Palette generator →

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