#E5D062#E5D062

#E5D062 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.132 H 98.6°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#E5D062
RGBrgb(229, 208, 98)
HSLhsl(50, 72%, 64%)
HSVhsv(50, 57%, 90%)
CMYKcmyk(0%, 9.2%, 57.2%, 10.2%)
CIE-LABlab(83.26, -6.01, 56.25)
CIE-LCHlch(83.26, 56.57, 96.10°)
OKLaboklab(85.37% -0.0198 0.1306)
OKLCHoklch(85.37% 0.132 98.6)
XYZxyz(57.0757, 62.6540, 20.6399)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D062 #6277E5
analogous
#E58F62 #E5D062 #B9E562
triadic
#E5D062 #62E5D0 #D062E5
tetradic
#E5D062 #62E58F #6277E5 #E562B9
square
#E5D062 #62E58F #6277E5 #E562B9
split-complementary
#E5D062 #62B9E5 #8F62E5
monochromatic
#B0981D #DCC02D #E5D062 #EEE097 #F6EFCB

Accessibility & contrast

On white

1.55
#E5D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#E5D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D062
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D062#FFFFFF#000000##000000
##E5D0621.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E7D367
Tritanopia (blue-blind)
#F5C3B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5d062;
/* rgb */ color: rgb(229, 208, 98);
/* oklch */ color: oklch(85.4% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#f0de92',
    500: '#e5d062',
    950: '#000000',
  },
}
SCSS
$custom: #e5d062;
$custom-light: #f0de92;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d062",
  "rgb": {
    "r": 229,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 50.382,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85365,
    "c": 0.13214,
    "h": 98.6
  },
  "luminance": 0.62652
}

Semantic roles & 50–950 ramp

primary
#E5D062
secondary
#3B4EB1
accent
#31D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D062

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

Preview Lab → · Contrast checker → · Palette generator →

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