#E7D460#E7D460

#E7D460 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.137 H 100.1°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#E7D460
RGBrgb(231, 212, 96)
HSLhsl(52, 74%, 64%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 8.2%, 58.4%, 9.4%)
CIE-LABlab(84.44, -7.36, 58.54)
CIE-LCHlch(84.44, 59.00, 97.17°)
OKLaboklab(86.34% -0.0241 0.1353)
OKLCHoklch(86.34% 0.137 100.1)
XYZxyz(58.6120, 64.9228, 20.5080)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D460 #6073E7
analogous
#E79160 #E7D460 #B6E760
triadic
#E7D460 #60E7D4 #D460E7
tetradic
#E7D460 #60E791 #6073E7 #E760B6
square
#E7D460 #60E791 #6073E7 #E760B6
split-complementary
#E7D460 #60B6E7 #9160E7
monochromatic
#B29D1B #DFC62B #E7D460 #EFE295 #F7F1CA

Accessibility & contrast

On white

1.50
#E7D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#E7D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D460
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D460#FFFFFF#000000##000000
##E7D4601.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF54
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#F7C6BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d460;
/* rgb */ color: rgb(231, 212, 96);
/* oklch */ color: oklch(86.3% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#f1e091',
    500: '#e7d460',
    950: '#000000',
  },
}
SCSS
$custom: #e7d460;
$custom-light: #f1e091;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d460",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 51.556,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86338,
    "c": 0.13738,
    "h": 100.1
  },
  "luminance": 0.6492
}

Semantic roles & 50–950 ramp

primary
#E7D460
secondary
#394AB2
accent
#2CD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D460

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

Preview Lab → · Contrast checker → · Palette generator →

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